activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Komandur <sridharkoman...@komandur.com>
Subject Re: Starting to use Active MQ
Date Wed, 04 Oct 2006 04:04:50 GMT


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.


Mime
View raw message