[rabbitmq-discuss] Queue delete causes transaction errors

Aaron Westendorf aaron at agoragames.com
Wed Jul 14 19:43:57 BST 2010

On Wed, Jul 14, 2010 at 11:31 AM, Michael Bridgen <mikeb at rabbitmq.com> wrote:
> Right, yes it looks like the queue has disappeared in-between routing the
> message and committing the transaction.
> I'm puzzled about why this would happen when you are not deleting the queue,
> though.  Are you declaring the queues as exclusive?  That would delete them
> with the connection.

I'm always deleting the queue, just exercising whether it's
auto-deleted or not, and the exact timing of the delete and whether or
not I close the connection.  I haven't played with the exclusivity

> There would still be a race between the delete and the transaction
> committing, unless those are co-ordinated somehow (which I wouldn't have
> thought).  I.e., if you publish then commit in one process, and unbind then
> delete in another other process, the publish and commit could still fall
> either side of the unbind and delete.

Good point.


Aaron Westendorf
Senior Software Engineer
Agora Games
359 Broadway
Troy, NY 12180
Phone: 518.268.1000
aaron at agoragames.com

More information about the rabbitmq-discuss mailing list