[rabbitmq-discuss] Regarding Federation Plugin Configuration

Jain, Punit Punit.Jain at emc.com
Sat May 11 19:50:05 BST 2013

Thanks Simon for prompt response and for the link. I verified the configuration according to my requirements, but messages are not being backed-up in upstream queue. Properties like expires and message_ttl are set to default. I couldn't figure out any plausible reason for this. Could it be related to exchange/queue publishing properties on upstream broker?


-----Original Message-----
From: Simon MacMullen [mailto:simon at rabbitmq.com] 
Sent: Friday, May 10, 2013 3:49 PM
To: Discussions about RabbitMQ
Cc: Jain, Punit
Subject: Re: [rabbitmq-discuss] Regarding Federation Plugin Configuration

On 10/05/13 09:19, Jain, Punit wrote:
> I have configured two brokers in federated mode, and both are running 
> on version 2.8.2(I know it's outdated, but for some reasons I have to 
> stick with it). I have configured both in bidirectional mode. You can 
> see the configuration for one broker below. I am able to receive 
> messages from upstream broker, but when connection between brokers is 
> lost or if I close the connection deliberately, the messages are not persisted, i.e.
> the messages sent to upstream broker during that time span are lost, 
> and they are not received after reestablishing the connection. How can 
> I ensure that the messages are persisted on upstream exchange/queue 
> while connection to federated broker is down or not established? Or is 
> it the expected behavior? I will really appreciate if you can assist 
> me in configuring it properly or provide some workaround.

That's not expected behaviour (unless you set the connection's 'expires' 
and/or 'message_ttl' properties, in which case you get the behaviour you asked for).

Look at the upstream broker in mgmt / rabbitmqctl. It should contain queues with names like "federation: (exchange) -> (downstream)". 
Messages should back up in these queues while links are down. Do they?

> I tried to find some documentation on federation plugin configuration 
> for version 2.8.2, but I couldn't find anything useful. If you have 
> some link or document for federation plugin configuration for version 
> 2.8.2 or so, please paste it, I will really appreciate it.


Technically this is the documentation for 2.8.7, but that's only some bug fixes away from 2.8.2.

Cheers, Simon

Simon MacMullen
RabbitMQ, Pivotal

More information about the rabbitmq-discuss mailing list