[rabbitmq-discuss] java client reconnect error: attempt to reuse consumer tag

Michael Klishin mklishin at gopivotal.com
Sat Apr 12 21:44:58 BST 2014


 On 13 April 2014 at 00:32:58, James Bellenger (james at bellenger.org) wrote:
> > Thanks for the pointer, Michael.
> In looking at the client code again,
> AutorecoveringConnection.recoverConsumers modifies the  
> consumer map
> while iterating over it. This can change the map ordering and  
> lead to
> recovering the same consumer twice. It looks like a similar thing  
> happens in recoverQueues. I've attached a small patch that fixes  
> the
> issue.

Doh. It’s a real blunder because I already fixed this exact issue twice
in 2 Ruby clients ;)

Thank you, a fix should be in nightlies early next week and in 3.3.1 in a few weeks.
--  
MK  

Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list