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:53:08 UTC

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

Pavel Moravec created QPID-4266:
-----------------------------------

             Summary: 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


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


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

Posted by "Pavel Moravec (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Moravec closed QPID-4266.
-------------------------------

    Resolution: Not A Problem

Wrong passing of temporary queue name to other qpid clients, nothing to fix.
                
> 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


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

Posted by "Pavel Moravec (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Rajith Attapattu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-4266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444142#comment-13444142 ] 

Rajith Attapattu commented on QPID-4266:
----------------------------------------

I think this is due to some sort of confusion. 
The destination syntax has no bearing on the ReplyTO !
When we pass the reply-to as per the AMQP 0-10 spec, we provide the exchange-name and routing-key.
We don't pass address or BURL strings around.

What we do have is an issue with how we toString() our destinations.

Could you please clarify as to what the exact issue is?
                
> 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