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

        Gordon Sim created issue -
        Gordon Sim made changes -
        Field Original Value New Value
        Affects Version/s 0.10 [ 12316273 ]
        Environment java 0.10 client
        Robbie Gemmell made changes -
        Assignee Rajith Attapattu [ rajith ]
        Fix Version/s JIRA Cleanup [ 12317862 ]
        Robbie Gemmell made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Later [ 7 ]
        Robbie Gemmell made changes -
        Resolution Later [ 7 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Robbie Gemmell made changes -
        Assignee Rajith Attapattu [ rajith ]
        Fix Version/s 0.13 [ 12316854 ]
        Fix Version/s JIRA Cleanup [ 12317862 ]
        Robbie Gemmell made changes -
        Fix Version/s 0.15 [ 12319043 ]
        Fix Version/s 0.13 [ 12316854 ]
        Rob Godfrey made changes -
        Labels addressing
        Robbie Gemmell made changes -
        Fix Version/s 0.15 [ 12319043 ]

          People

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

            Dates

            • Created:
              Updated:

              Development