qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Syntax For Creating Static Route with Headers Exchange
Date Thu, 14 Jul 2011 16:03:03 GMT
On 07/14/2011 04:37 PM, rfallon wrote:
>
> Hello,
>
> I am creating a route between two brokers on the headers exchange and would
> like to know how you specify an appropriate binding key.
>
> If I were subscribing direct to a headers exchange using AMQP I might use
>
> .. x-bindings:[{exchange:'amq.match', arguments : {x-match:all,
> data-service:lookup, data-type:xml}}]
>
> I have tried but alas I must concede, I cannot work out what format the
> binding key should be to represent the above.  Could you help me?
>
>
> qpid-route route add DEST_BROKER SRC_BROKER amq.match @@MYBINDINGKEY@@
>
> What should the value of @@MYBINDINGKEY@@ be?

The binding key isn't relevant to matching/routing with the headers 
exchange.

Looking at the qpid-route options at present, I don't believe it is 
possible to create a static route from a headers exchange.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message