activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Consumer is not able to pick messages from queue
Date Fri, 10 Sep 2010 09:08:30 GMT
The named queue concept can be realized in configuration using
filtered destination that use selectors. see;

As the selectors are evaluated at send time there is no limit imposed
by sparse matching.

On 9 September 2010 21:19, Fredrik Jonson <> wrote:
> Gary Tully wrote:
>>  yea, this is a known issue with sparse selectors. increasing the
>>  maxPageSize via a destination policy entry for that queue will help as
>>  it will ensure that more messages are held in memory for dispatch.
> Well, yes it helps, but only as long as the message your selector wants
> can be found within the configured page size.
>>  see: the comments on
> The last sentence on the above post offer a very good alternative. If you need
> to adress messages by type and must be able to handle a backlog bigger than
> what is possible to contain in the maxPageSize, replace your selectors with
> separate named queues, each specific for whatever you selected for before.
> This assumes that you do not have too many selectors though, and obviously
> that your selector queries can be mapped to named queues.
> --
> Fredrik Jonson


Open Source Integration

View raw message