[rabbitmq-discuss] Entity creation order guarantees with shovel/federation

Simon MacMullen simon at rabbitmq.com
Mon Mar 5 10:05:58 GMT 2012


Hi Simone.

Both shovel and federation create their entities when the rabbit_shovel 
or rabbit_federation applications start up - which is after the rabbit 
application. So yes, there is a race here. Hmm. This could probably be 
fixed fairly easily, I'll file bugs.

Cheers, Simon

On 05/03/2012 8:01AM, Busoli, Simone wrote:
> Hello, I would like to know if there are any guarantees about the order
> in which entities like exchanges and queues are created when they are
> declared in shovel or federation addins with respect to when the broker
> becomes available for clients to connect.
>
> I had assumed that when the broker would start accepting connections
> then the plugins were already initialized and the entities they declare
> available.
>
> What I experienced instead is that after a broker shutdown some clients
> where a reconnection logic was put in place randomly found the exchanges
> they were trying to bound their queues to to not exist yet, as if it
> depended on when exactly the client tried reconnecting.
>
> _________________________________________________________________________________________________________________
> Questo messaggio e da intendersi esclusivamente ad uso del destinatario
> e puo contenere informazioni che sono di natura privilegiata, confidenziale
> o non divulgabile secondo le leggi vigenti. Se il lettore del presente
> messaggio non e 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 e
> 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.
> _________________________________________________________________________________________________________________
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list