posted 12 years ago
Hi,
For one integration we are using MQ for messaging (in xml format : that needs to be parsed based on xsd ).
I need to write some listener, who continuously keeps on listing the Request Queue, and as soon as message comes it receives the message (XML) and parse it and save the containing
data in Database.
I tried after some R&D, synchronous communication by creating connection/session and then receiver object to receive message.
Now I want to make This Listener as Asynchronous, that would continuously checking the queue and if any message is there, it should process it.
Can you Please provide some suggestions ?? Or if possible a code snippet would be much helpful.
Regards,
Vivek Mathur