[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [amqp] Correct behavior for link source with filters applied?
The core spec is silent on what the expected behavior is for links with applied filters.
Â
Iâm looking at wire traces of Qpid JMS interacting with ActiveMQ during the Qpid JMS tests and there specifically at this here:
Â
Â
The runtime behavior with the queue appears to be that ActiveMQ instantly skips messages that donât match the given filter and doesnât block on a message thatâs ahead of messages matching the filter.
Â
Doesnât that imply that the filter is used as a feature of the backend rather than of the link, i.e. the queue acting like a topic rather than a queue?
Â
For a queue, I would expect that competing consumers become eligible for getting a message when it is their turn, and then thereâs a decision for whether that message is indeed transferred based on the filter and otherwise that consumer yields its turn. In this particular test, the queue should therefore block.
Â
Thoughts?
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]