Håkan Johansson created QPID-6952:
-------------------------------------

             Summary: [AMQP 1.0 C++ and Python Client] Temporary queues broken 
if using queue name instead of Address.
                 Key: QPID-6952
                 URL: https://issues.apache.org/jira/browse/QPID-6952
             Project: Qpid
          Issue Type: Bug
         Environment: Red Hat Enterprise Linux Server release 6.7 (Santiago)

The _qpid-cpp_ code has been built with _qpid-proton_ version 0.10.

The broker is ActiveMQ 5.12.1.
The protocol used in AMQP 1.0.

            Reporter: Håkan Johansson


I create a temporary queue by creating a receiver with {{"#"}} as queue name. 
So far so good. The problem comes when I try to send a reply on that queue. If 
I use the {{Address}}, then it works, but not if I use the resulting queue name.

In C++ this is easy to work around, just use the result from 
{{receiver.getAddress()}} when setting the reply-to queue and use the sender 
constructor that takes an {{Address}} object.

In Python this becomes a bit of a problem since the SWIG:ed methods gets rid of 
the {{Address}} object and returns a string instead. I have to call the private 
method {{message._getReplyTo()}} to get it to work. If I use 
{{message.reply_to}} or {{message.getReplyTo()}} I get a string instead, which 
does not work.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to