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:[email protected]

Reply via email to