Qpid
  1. Qpid
  2. QPID-3194

alternate-exchange (in x-declare part of address) does not work from JMS

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10
    • Fix Version/s: 0.11
    • Component/s: None
    • Labels:
      None

      Description

      If the alternate-exchange option is specified in queue or exchange creation via
      JMS, the alternate exchange is ignored.

      Steps to Reproduce:
      1. Start a broker
      2. Run the Java spout example:

      ./runSample.sh org.apache.qpid.example.Spout
      "test-queue;{create:always,node:{type:queue,x-declare:

      {alternate-exchange:amq.fanout}

      }}"

      ./runSample.sh org.apache.qpid.example.Spout
      "test-exchange;{create:always,node:{type:topic,x-declare:

      {alternate-exchange:amq.fanout}

      }}"

        Activity

        Hide
        Rajith Attapattu added a comment -

        The c++ client and python client is using "alternative-exchange" as the keyword.
        The java client is using "alt-exchange", which is the primary reason why the alternative exchange is not set properly when using the above addresses.

        Show
        Rajith Attapattu added a comment - The c++ client and python client is using "alternative-exchange" as the keyword. The java client is using "alt-exchange", which is the primary reason why the alternative exchange is not set properly when using the above addresses.
        Hide
        Rajith Attapattu added a comment -

        Fixed with a test case.

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development