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

Andrew Francis andrewfr_ice at yahoo.com
Wed Jan 29 15:11:31 MST 2014


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 (in ampqFactory, i see stuff like resumeProducing() so I assume it is a producer)

Cheers,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20140129/5ddcdf3c/attachment.html>


More information about the Twisted-Python mailing list