Qpid
  1. Qpid
  2. QPID-2774

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: Java Client
    • 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.

        Activity

        Hide
        Rajith Attapattu added a comment -

        Fixed with a test case. See svn commits tab for details.

        Show
        Rajith Attapattu added a comment - Fixed with a test case. See svn commits tab for details.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development