[rabbitmq-discuss] Multicasting
bradford cross
bradford.n.cross at gmail.com
Tue May 5 22:30:22 BST 2009
BTW, I used the binding/routing key approach for this example. What would
be different about the code if I were to use the fan out exchange?
On Tue, May 5, 2009 at 2:27 PM, bradford cross
<bradford.n.cross at gmail.com>wrote:
> BTW: I wrote notes while getting multicast working and blogged about it:
> http://bradfordcross.blogspot.com/2009/05/multicast-rabbitmq-from-clojure.html
>
>
> On Tue, May 5, 2009 at 12:03 PM, bradford cross <
> bradford.n.cross at gmail.com> wrote:
>
>> Excellent, I got it working, thank you!
>>
>>
>> On Tue, May 5, 2009 at 1:54 AM, Matthias Radestock <matthias at lshift.net>wrote:
>>
>>> Bradford,
>>>
>>> bradford cross wrote:
>>>
>>>> My requirement is to have two parallel (forked, or whatever) queues, one
>>>> of which the regular production process listens to, and one of which a
>>>> backup process listens to.
>>>>
>>>> Rabbitmq seems to call this sort of thing one-to-many broadcasting and
>>>> multicast. There is not a lot of documentation about it, just a blurb here
>>>> <http://www.rabbitmq.com/faq.html#scenarios> and then the code here ->
>>>> rabbitmq-java-client-1.5.4/test/src/com/rabbitmq/examples/MulticastMain.java
>>>>
>>>
>>> You may want to read
>>> http://blogs.digitar.com/jjww/2009/01/rabbits-and-warrens/
>>> which is linked to from
>>> http://www.rabbitmq.com/how.html
>>>
>>> Briefly, to get a message sent to multiple queues, bind those queues to
>>> an exchange using binding keys that match the message's routing key.
>>>
>>> Btw, MulticastMain is a fairly universal test program, so it's not
>>> exactly a concise example of performing simple multicast routing.
>>>
>>>
>>> Regards,
>>>
>>> Matthias.
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090505/494bd0d9/attachment.htm
More information about the rabbitmq-discuss
mailing list