Basic question
1 posts in topic
Flat View  Flat View

Posted By:   Tom_Chou
Posted On:   Tuesday, March 29, 2005 11:55 AM

I'm new to JMS, and want to know, in a queue setup, if you have multiple subscribers waiting on the queue for messages, is it true that if any message is put on the queue, as soon as a subscriber reads the message, and even if it finds that it doesn't match, it will discard the message, so that if another subscriber was actually waiting for that message, they will not get it?

This doesn't seem like a proper use of queues, but a customer is asking about it. I think it would be better to use a topic if there are multiple applications waiting on a message from one source.

Am I correct? Or totally not getting it?

Thanks for indulging my basic question :)

Re: Basic question

Posted By:   Tom_Chou  
Posted On:   Tuesday, March 29, 2005 12:14 PM

Never mind. I was looking through the API just now, and found the bit about QueueBrowser. There IS a way to look on the queue without removing it.

Sorry for any inconvenience.
About | Sitemap | Contact