Description of problem: Rejected message is not routed to the queue alternate exchange. See 'Steps to Reproduce' below for more details. Note: this applies only to amqp1.0 protocol, amqp0-10 routes the message to the alternate exchange correctly Version-Release number of selected component (if applicable): qpid-cpp-*-0.22-19 How reproducible: 100% Steps to Reproduce: 1. subscribe a consumer to alternate exchange, ie: # drain --connection-options "{protocol: 'amqp1.0'}" -f amq.fanout 2. create a queue with alternate-exchange specified and send a message towards it # spout --connection-options "{protocol: 'amqp1.0'}" "q;{create:always, node:{x-declare:{alternate-exchange: 'amq.fanout'}}}" 3. acquire and reject the message using consumer, the message shall be routed to the defined alternate exchange 4. No message was delivered on the alternate exchange Actual results: Rejected message is NOT routed to the alternate exchange Expected results: Rejected message is routed to the alternate exchange Additional info:
Note: The message is not dropped, it is returned to the queue, but shall be routed to alternate-exchange
Fixed upstream: https://svn.apache.org/r1532307
This issue has been fixed. Verified on rhel6.4 (i386, x86_64). packages used for testing: qpid-cpp-*-0.22-20.el6