Qpid
  1. Qpid
  2. QPID-3265

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

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.10
    • Fix Version/s: None
    • Component/s: Java Client
    • 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.

        Activity

          People

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

            Dates

            • Created:
              Updated:

              Development