[rabbitmq-discuss] Symmetric federation behavior
Simone.Busoli at ferrari.com
Fri Mar 2 14:41:17 GMT 2012
Well, what leads me to think that it's still behaving as before is that I see messages being published on the "federation: ..." queues on both brokers.
I am assuming it is behaving as before because this is what happens when I just the remove the exchange federation configuration, but if I remove the upstream-sets entry as well the broker will crash at startup. I am under the impression that there's no way to unfederate an exchange actually, perhaps because it is a durable exchange maybe?
From: Simon MacMullen [mailto:simon at rabbitmq.com]
Sent: venerdì 2 marzo 2012 15:36
To: Busoli, Simone
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] Symmetric federation behavior
Well, it will still claim to be a federated exchange, but if you don't define any upstreams for it then it won't actually federate. Is that what you mean by "the exchange is still there with federation set-up"?
Sadly the code to let you monitor running federation links hasn't made it into any releases yet so the only way to see if federation is actually happening is to look for messages in the logs along the lines of "Federation exchange foo connected to blah" at startup. There shouldn't be any.
On 02/03/12 14:21, Busoli, Simone wrote:
> Hi Simon, I have tried some local spikes before applying the solution
> in the production environment, but it appears that I cannot get to
> unfederate the exchange. Even if I change the configuration and
> restart the broker, it appears that the exchange is still there with
> federation set-up. Is that something I should expect?
> -----Original Message----- From: Simon MacMullen
> [mailto:simon at rabbitmq.com] Sent: venerdì 2 marzo 2012 12:28 To:
> Busoli, Simone Cc: rabbitmq-discuss at lists.rabbitmq.com Subject: Re:
> [rabbitmq-discuss] Symmetric federation behavior
> On 02/03/12 11:14, Busoli, Simone wrote:
>> the exchange on that broker (as it is durable) would still be of type
>> x-federation, and I'm not sure the broker will like it.
> It's fine to have a federated exchange with no upstreams. It will act
> like a normal exchange.
> Cheers, Simon
> -- Simon MacMullen RabbitMQ, VMware
Questo messaggio è da intendersi esclusivamente ad uso del destinatario e può contenere informazioni che sono di natura privilegiata, confidenziale
> o non divulgabile secondo le leggi vigenti. Se il lettore del presente
> messaggio non è il destinatario designato, o il dipendente/agente
> responsabile per la consegna del messaggio al destinatario designato,
> si informa che ogni disseminazione, distribuzione o copiatura di
> questa comunicazione è strettamente proibita anche ai sensi del
> decreto legislativo 196/03 . Se avete ricevuto questo messaggio per
> errore, vi preghiamo di notificarcelo immediatamente a mezzo e-mail di
> risposta e successivamente di procedere alla cancellazione di questa
> e-mail e relativi allegati dal vostro sistema.
This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from
> disclosure under applicable law. If the reader of this message is not
> the intended recipient, or the employee or agent responsible for
> delivering the message to the intended recipient, you are hereby
> notified that any dissemination, distribution or copying of this
> communication is strictly prohibited. If you have received this e-mail
> in error, please notify us immediately by return e-mail and delete
> this e-mail and all attachments from your system.
More information about the rabbitmq-discuss