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

Can't subscribe to headers exchange using address (rather than BURL)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.10
    • Fix Version/s: None
    • Component/s: JMS AMQP 0-x
    • Labels:
    • Environment:

      java 0.10 client

      Description

      Creating a receiver for the following address works from python and c++, but not from JMS (using drain example in each case):

      my-headers-exchange; {link:{x-bindings:[{arguments:{'x-match':all,a:b,c:d}}]}}

      The problem with JMS seems to be that though it correctly interprets the arguments and issues a bind with them in it, it issues another bind to the exchange with no arguments that fails with an error.

      Also, the following also doesn't work:

      my-subscription-queue; {create:always, node:{x-declare:{auto-delete:True}}, link:{x-bindings:[{queue:my-subscription-queue, exchange:my-headers-exchange, arguments:{'x-match':all,a:b,c:d}}]}}

      Here the x-bindings in the link don't seem to get interpreted. However if instead they are moved to the node, that works.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: