On Tue, Sep 15, 2009 at 6:01 AM, dbczak <[email protected]> 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)u8...@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