[rabbitmq-discuss] Alternate Exchanges: How to?

Simon MacMullen simon at rabbitmq.com
Mon Apr 4 15:49:42 BST 2011


On 04/04/11 15:34, Alfonso Pantoja wrote:
> On 4 abr, 14:19, Simon MacMullen<si... at rabbitmq.com>  wrote:
>> Or am I still misunderstanding what you're trying to do?
>
> I will try to explain it :)

<snip>

> If Rabbit A and Rabbit B lose their link then I suppose messages from
> that consumer (attached to Rabbit A) that is necessary they  reach
> Rabbit B won't be delivered because they will be unroutable  (although
> Ex_PlatformB exchange is mirrored in Rabbit B, the binding between it
> and a queue in Rabbit B is not accessible due to queues are not
> replicated) so there is the need to keep unroutable messages somewhere
> and maybe alternate exchanges is the solution.

Right. Got it.

Yes, alternate exchanges would be one way to deal with this. However, 
you should be aware that clustering isn't really designed for use cases 
where the network is expected to be unreliable, so you may be better off 
setting up independent brokers and connecting them with the shovel, or 
the upcoming federation plugin.

Cheers, Simon

-- 
Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware



More information about the rabbitmq-discuss mailing list