You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pavel Moravec (JIRA)" <ji...@apache.org> on 2012/08/29 15:55:08 UTC

[jira] [Updated] (QPID-4266) session.createTemporaryQueue() to return address string rather than BURL

     [ https://issues.apache.org/jira/browse/QPID-4266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Moravec updated QPID-4266:
--------------------------------

    Attachment: bz845985.patch

Patch proposal. AMQTemporaryQueue calls AMQDestination(String str) contructor and further performs some setting (of qName, ExName or so) that is missing in the constructor.
                
> session.createTemporaryQueue() to return address string rather than BURL
> ------------------------------------------------------------------------
>
>                 Key: QPID-4266
>                 URL: https://issues.apache.org/jira/browse/QPID-4266
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.18
>            Reporter: Pavel Moravec
>            Priority: Minor
>              Labels: patch
>         Attachments: bz845985.patch
>
>
> Description of problem:
> session.createTemporaryQueue() returns Queue of BURL syntax, while BURL is already deprecated. It impacts use case like message.setJMSReplyTo(temporaryQueue) where the message is consumed by C++ client - the client is not aware of some BURL syntax at all..
> Version-Release number of selected component (if applicable):
> qpid-java-*-0.18
> How reproducible:
> 100%
> Steps to Reproduce:
> 1. Execute in Java code the line:
> System.out.println("new temp.queue: " + session.createTemporaryQueue());
>   
> Actual results:
> new temp.queue: direct://amq.direct/TempQueuefe8ae26b-0dff-444d-bb32-4d6739a4de0d/TempQueuefe8ae26b-0dff-444d-bb32-4d6739a4de0d?routingkey='TempQueuefe8ae26b-0dff-444d-bb32-4d6739a4de0d'&exclusive='true'&autodelete='true'
> Expected results:
> address string syntax in output

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org