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

Busoli, Simone Simone.Busoli at ferrari.com
Mon Mar 5 10:07:31 GMT 2012


Thanks Simon, having that fixed would be great.

-----Original Message-----
From: Simon MacMullen [mailto:simon at rabbitmq.com] 
Sent: lunedì 5 marzo 2012 11:06
To: Busoli, Simone
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] Entity creation order guarantees with shovel/federation

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

_________________________________________________________________________________________________________________
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 mailing list