activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fredrik Jonson <>
Subject Re: Consumer is not able to pick messages from queue
Date Thu, 09 Sep 2010 20:19:48 GMT
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

View raw message