[rabbitmq-discuss] txamqp not sending channel.close? (Was: message availability after close without ack)

Tim Cole tim.cole at canonical.com
Thu Jun 17 22:47:49 BST 2010


On Tue, 2010-06-15 at 20:22 +0100, Matthias Radestock wrote:
> sending a channel.close method is definitely the correct way to close a 
> channel, but I do not know how that is exposed in the txamqp API.

It's kind of weird.  As it turns out, txamqp exposes two methods on
channel objects, one which sends channel.close to the server, and one
which marks the channel as closed locally.  To properly close a channel,
you end up having to call both individually.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100617/e34f6847/attachment.pgp>


More information about the rabbitmq-discuss mailing list