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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.10
    • None
    • JMS AMQP 0-x
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: