[rabbitmq-discuss] Broker to Broker communication...
Chris Chew
chrisch at ecollege.com
Mon Aug 9 18:56:23 BST 2010
> From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Jeff Bannister
> Sent: Monday, August 09, 2010 11:11 AM
> To: rabbitmq-discuss at lists.rabbitmq.com
> Subject: [rabbitmq-discuss] Broker to Broker communication...
>
> ...
>
> Would it look like this?
>
> App B--->Exchange A-->Queue-->Exchange B-->Queue-->App A
Hi Jeff.
The part you are missing is the piece that "connects" the queue on Exchange A to Exchange B. Prior to the upcoming 1.0 spec, AMQP does not define anything special for broker-to-broker mechanics.
You might consider the rabbitmq-shovel plugin to "shovel" the messages from one broker/exchange to another. In your case, it would be from a broker in geographic location A to an analogous broker in geographic location B.
With shovel, the flow would look more like this:
[ ......... Broker A .......... ] [ ..... Broker B ..... ]
App B --> Exchange A --> Queue A --> Shovel -+WAN+-> Exchange B --> Queue --> App B
See:
http://www.lshift.net/blog/2010/02/01/rabbitmq-shovel-message-relocation-equipment
http://hg.rabbitmq.com/rabbitmq-shovel/
I hope this helps!
Chris
More information about the rabbitmq-discuss
mailing list