GS.Chandra N wrote:
On Mon, Feb 16, 2009 at 2:57 PM, Gordon Sim <[email protected]> wrote:
The headers exchange only supports the limited mechanisms documented in
the 0-10 spec.

In that case, are there any ways to create Links between exchanges at the
server such that i can populate certain well known exchanges with messages
corresponding to some known conditions ?

Required condition = h1 = val1 and h2 = val2 and h3 in (val4, val5....valn)

So i create one exchange h1h2 such that all messages that match h1 = val1
and h2 = val2 gets send to this queue (via a link between two queues?) and
clients can subscribe using h3 = val4 or h3 = val5 .... syntax from this
exchange.

Unfortunately not.

If there is some rich functionality available around this, i could use this
to simplify the client subscriptions and probably reduce the load on the
broker. I saw some broker administration examples on the amqp standard pdf
(section 9) that showed some similar scenarios. Are they available ?

No, I suspect you are referring to the draft 1.0 spec which is still a work in progress.

I think the simplest fix/change to address your need would be a modification to the xml exchange to allow xqueries on headers only, where the body is not itself xml.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to