Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2774

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: JMS AMQP 0-x
    • Labels:
      None

      Description

      Consider the following address string,
      "HELLO/world;

      {create: never}

      ", 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.

        Attachments

          Activity

            People

            • Assignee:
              rajith Rajith Attapattu
              Reporter:
              rajith Rajith Attapattu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: