[rabbitmq-discuss] Regarding Federation Plugin Configuration

Jain, Punit Punit.Jain at emc.com
Fri May 10 09:19:45 BST 2013


Hi,
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.

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.

[{rabbitmq_federation,
[
        { exchanges,[
                [
                      { exchange, "Cluster1" },
                      { type, "topic" },
                      { upstream_set, "my_upstream" }
                ]
        ]},
        { upstream_sets,
            [
                {"my_upstream",
                    [
                       [
                            { connection, "host040" },
                            { exchange, "Cluster1" }
                       ]
                    ]
                }
            ]
        },
        { connections,
            [

                {"host040",
                    [
                      { host, "XX.XX.XX.XX" }
                    ]
                }
            ]
        }
    ]
}].

Thanks,
Punit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130510/95528d43/attachment.htm>


More information about the rabbitmq-discuss mailing list