Thanks for the response you got my requirement, I am good to the services component.

I am new with InterSystems could you please help me out with to which Database these message’s will be Inserted (Table Name) and the messages in database will  be stored for temporarily or permanent.

I am also interested to implement content-based retrievals, so could you please provide me any references/links  for working on fetching data  and  Database design.

Appreciate your Help!!