You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org> on 2010/07/29 00:29:17 UTC

[jira] Created: (QPID-2774) Incorrect logic when querying for existance of an exchange while parsing an address string.

Incorrect logic when querying for existance of an exchange while parsing an address string.
-------------------------------------------------------------------------------------------

                 Key: QPID-2774
                 URL: https://issues.apache.org/jira/browse/QPID-2774
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
            Reporter: Rajith Attapattu
            Assignee: Rajith Attapattu
            Priority: Minor
             Fix For: 0.7


Consider the following address string,
"HELLO/world; {create: never, node: { type: topic }}", where HELLO is a pre existing exchange of type 'direct'.

Since the type of the exchange is not specified, the Java client defaults to 'topic' right at the beginning and incorrectly compares the exchange type when querying for the exchange.
The default exchange type should only be specified if an exchange needs to be created and the type is missing. 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org