dcsimg
Separate instance of MDB for each message in the Queue
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ashly_Jose
Posted On:   Thursday, December 15, 2005 01:24 AM


While using queues, when i acknowledges one message in the queue, all the unacknowledged messages read before this message also get acknowledged. I read somewhere that if i start different instance for reading the messages from the queue, i can solve this issue.



How can i start new instance of MDB for each message? What i understand about "onMessage" method is that it keeps on reading the queue until all the messages gets over. How can i start new instance of MDB for each message in the queue? Please let me know if ther is any solution for this problem. Also please send me sample code for the same. Waiting for your valuable replay...

About | Sitemap | Contact