Hi guys,

I have got a problem with the Headers exchange. The problem is that I want
to subscribe to multiple headers in a headers exchange, with same key and
different values per say, and receive messages for all messages matching ANY
of those values. say I want to subscribe to a channel and receive all
messages with headers named 'foo' with either values of a or b. would such
subscription be possible in qpid? or I need to handle this complexity at own
end?

I can understand why such logic wont make sense for ALL case because the
header should match one of them anyway. But for the ANY case, it would
improve the performance and complexity for me if I would be able to do so.
So I was wondering if this is by design?

I know in Python client per say, arguments are passed to exchange using a
dictionary, eliminating such flexibility right off the bet (no multiple
entries with same key in Python dicts). Also as I see in C++ broker, headers
are handled using a mapping dictionary, again removing such possibility.

So is there any thoughts on such scenario? is it by design or by spec
resulted in such implementation? (cant find anything in AMQP spec regarding
that)

Thanks,
Siamak

Reply via email to