[rabbitmq-discuss] Not receiving notifications about queue deletions from the server.

Matthew Sackman matthew at rabbitmq.com
Sat Sep 24 16:17:20 BST 2011


Hi Njal,

On Sat, Sep 24, 2011 at 05:18:11AM -0700, Njal Karevoll wrote:
> I don't seem to receive any notifications from the server when a queue I am 
> consuming is deleted. Both the server and the client is stating they support 
> consumer_cancel_notify. 
> 
> 2011-09-24 14:15:25+0200 SENDING <ProtocolHeader(['frame_type=-1', 
> 'major=0', 'minor=9', 'revision=1'])>
> 2011-09-24 14:15:25+0200 RECEIVED: <Method(['frame_type=1', 
> 'channel_number=0', 
> 'method=<Connection.Start(["server_properties={\'information\': \'Licensed 
> under the MPL.  See http://www.rabbitmq.com/\', \'product\': \'RabbitMQ\', 
> \'copyright\': \'Copyright (C) 2007-2011 VMware, Inc.\', \'capabilities\': 
> {\'exchange_exchange_bindings\': True, \'consumer_cancel_notify\': True, 
> \'publisher_confirms\': True, \'basic.nack\': True}, \'platform\': 
> \'Erlang/OTP\', \'version\': \'2.6.1\'}", \'version_minor=9\', 
> \'mechanisms=PLAIN AMQPLAIN\', \'locales=en_US\', \'version_major=0\'])>'])>

> 2011-09-24 14:15:25+0200 SENDING <Method(['frame_type=1', 
> 'channel_number=0', 'method=<Connection.StartOk([\'locale=en_US\', 
> \'mechanism=PLAIN\', "client_properties={\'client-properties\': 
> {\'consumer_cancel_notify\': True, \'publisher_confirms\': True, 
> \'basic.nack\': True}, \'platform\': \'Python 2.7.1\', \'product\': \'Pika 
> Python Client Library\', \'version\': \'0.9.6-pre0\', \'information\': \'See 
> http://pika.github.com\'}", \'response=\\x00guest\\x00guest\'])>'])>

This is wrong. Connection.Start-OK's client_properties needs to contain
the key "capabilities" which is then the table as described in
http://www.rabbitmq.com/extensions.html#capabilities, whereas what's
being sent here is a key of "client-properties".

Matthew


More information about the rabbitmq-discuss mailing list