Re: [Twisted-Python] Problem with txampq_helper ampqFactory: closing connections

2014-01-30 Thread exarkun
On 29 Jan, 10:11 pm, andrewfr_...@yahoo.com wrote: Hi Folks: I need to maintain a programme that uses txampq_helper library ampqFactory. The current program does not close the connection to the underlying rabbitmq (the code is a mess). Can I simple call theampqFactory.protocol.transport.lose

[Twisted-Python] Problem with txampq_helper ampqFactory: closing connections

2014-01-29 Thread Andrew Francis
Hi Folks: I need to maintain a programme that uses txampq_helper library ampqFactory. The current program does not close the connection to the underlying rabbitmq (the code is a mess).  Can I simple call theampqFactory.protocol.transport.loseConnection()? Do I need to unregisterProducer() first