GS.Chandra N wrote:
I'm trying to try out different ways of subscribing from header exchange. Can i use SQL like syntax, as described in the standards draft?
The headers exchange only supports the limited mechanisms documented in the 0-10 spec. You specify the key-value pairs you want to match on and can then either choose to match them all (AND) or any of them (OR).
The (non-standard) XML exchange allows Xquery selection based on headers, but currently I believe it requires the body to be in XML even if your query doesn't actually access the body.
Selectors on subscribe is on the roadmap[1] but I think now unlikely to make it for the M5 feature freeze (hopefully it will be in the subsequent release however).
[1] https://issues.apache.org/jira/browse/QPID-530 --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
