Hello,
I am using Qpid C++ Broker 0.34 and qpid-qmf2 0.32 (Java). I have noticed that 
when I try to unbind a queue and an exchange without specifying a binding key, 
nothing happens. However, when I provide a binding key, the corresponding 
binding is deleted.
I have the same issue on Python side using "qpid-config" script (version 0.32).
>From the help of qpid-config, providing the binding key is optional.
Is this a known bug or expected?
Broker start commandLinux:        qpidd -p 10400 --auth no --load-module 
amqp.soWindows: qpidd.exe -p 10400 --auth no --load-module amqp.dll
View bindings (qpid-config -b queues basicQueue)Queue 'basicQueue'    bind 
[basicQueue] => ''    bind [key] => amq.topic    bind [news.sport.football] => 
amq.topic
Unbind basicQueue (qpid-config unbind amq.topic basicQueue )Queue 'basicQueue'  
  bind [basicQueue] => ''    bind [key] => amq.topic    bind 
[news.sport.football] => amq.topic
Unbind basicQueue with binding key (qpid-config unbind amq.topic basicQueue 
news.sport.football)Queue 'basicQueue'    bind [basicQueue] => ''    bind [key] 
=> amq.topic
Tested onLinux (Boost 1.55.0, Proton 0.12.0)Windows (Boost 1.55.0, Proton 
0.12.0)
qpid-config helpbash$ qpid-config --help
Usage:  qpid-config [OPTIONS]        qpid-config [OPTIONS] exchanges 
[filter-string]        qpid-config [OPTIONS] queues    [filter-string]        
qpid-config [OPTIONS] add exchange <type> <name> [AddExchangeOptions]        
qpid-config [OPTIONS] del exchange <name>        qpid-config [OPTIONS] add 
queue <name> [AddQueueOptions]        qpid-config [OPTIONS] del queue <name> 
[DelQueueOptions]        qpid-config [OPTIONS] bind   <exchange-name> 
<queue-name> [binding-key]                  <for type xml>     [-f -|filename]  
                <for type header>  [all|any] k1=v1 [, k2=v2...]        
qpid-config [OPTIONS] unbind <exchange-name> <queue-name> [binding-key]
Regards,
Adel Boutros,http://www.murex.com                                         

Reply via email to