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

JMS client should use the exchange given in the address if the exchange name is not explicitly given in x-bindings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: Java Client
    • Labels:
      None

      Description

      Consider the following address
      "MRKT;{link:{x-declare:{arguments:{'qpid.last_value_queue':1}},x-bindings:[

      {key:'NYSE.#'}

      ,

      {key:'NASDAQ.#'}

      ,

      {key:'CNTL.#'}

      ]}}"

      In the x-bindings section, the exchange names are not specified. In that case the JMS client should use "MRKT" as the exchange name.
      If the address doesn't resolve to an exchange (that is it resolves to a queue) then "amq.topic" is used as the default exchange.

        Activity

        Hide
        rajith Rajith Attapattu added a comment -

        Fixed along with a test case.

        Show
        rajith Rajith Attapattu added a comment - Fixed along with a test case.

          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:

              Development