The consumers are connecting using the queue semantics ... in which case a
message is delivered to one-of-them.

If you publish to a Topic, then all the consumers receive a copy of each
message.

Hope this helps.
Regards
- Sridhar Komandur


pjackson wrote:
> 
>  I'm running the example producer/consumer code that comes with Active MQ
> 4.0.1, and have a basic question.
> 
> If I start only one consumer, it recieves all 10 messages the produce
> publishes.  If I start two consumers, the consumers receive only half the
> messages (5), and 1/3 the messages if I have the consumers.
> 
> I would have thought each consumer would receive all 10 (which is what I
> want).  
> 
> Can anyone help.
> Thanks,
> Paul
> 

-- 
View this message in context: 
http://www.nabble.com/Starting-to-use-Active-MQ-tf2377882.html#a6633368
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to