Posted: Thu Apr 03, 2003 5:13 pm Post subject: picking up messages from the queue
Newbie
Joined: 12 Mar 2003 Posts: 4
I need my java application to read messages from a queue as and when that queue receives a message. Can I link that queue with the java appln or is running my java appln as a background thread continuously the only solution?please let me know.
Thanks,
Shivram
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
Shivram:
You can setup a trigger on the queue and invoke the java app to read that messages. And you have variuos types of triggers at your disposal (like FIRST, EVERY, DEPTH for first message, every message, or based on the depth of the queue etc).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum