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:[email protected]

Reply via email to