activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: Duplicate Messages on Listener Restart
Date Tue, 15 Sep 2009 13:23:01 GMT
On Tue, Sep 15, 2009 at 6:01 AM, dbczak <zak@dbconcert.com> wrote:
>
> the consumers do have normal url's (see TIPServer.java).  But for the sender,
> what url do I use to send to multiple consumers?

Just use the normal URL - tcp://<broker-ip>:<port>

If you want all subscribers to get a copy of a message, then you
should be using topics for publish/subscribe style of messaging. On
the other hand, if you want only one consumer to receive each message,
then you should use queues for a point-to-point style of messaging.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Mime
View raw message