[rabbitmq-discuss] CRITICAL:pika.connection:Attempted to send frame when closed

Michael Klishin mklishin at gopivotal.com
Tue May 27 14:05:34 BST 2014



On 27 May 2014 at 17:04:01, shilpa karkera (shilpa.karkera at finoux.com) wrote:
> > So you mean to say 'unmanaged multiple threads' on a single channel  
> has
> caused this?
> Yeah I've created these on a single channel which I was planning  
> to
> change later.

No. Multiple threads publish on a shared channel.

> Thus, yeah I'll try with multiple channels and with each having  
> its own
> thread in it.

Channels do not "have threads". You use channel(s) from threads. Each thread
should have its own thread (e.g. open one right after it is started), then
you won't have this connection error. 
--  
MK  

Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list