activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Does JMS priority work with “small" maxPageSize ?
Date Wed, 06 May 2015 12:10:59 GMT
that is true, the dispatch goes through the cursors in batches once
memory (or the cursor cache) is exhausted.
For durable subs, there is the ability to bypass the paged in messages, see:

I know folks have asked for something similar for queue cursors. It
would make a nice enhancement but may be tricky to get right.

On 4 May 2015 at 19:14, Kevin Burton <> wrote:
> Let’s say you have a queue with 1M items.. they are all low priority. Then
> you add a high priority entry.
> I believe, due to message cursors, that it won’t be executed until it’s
> read into the “maxPageSize window”.
> Is this correct or does it depend on the underlying store?
> KahaDB and LevelDB could probably move it to the head (I think) but the
> memory store can not...
> --
> Founder/CEO
> Location: *San Francisco, CA*
> blog:
> … or check out my Google+ profile
> <>

View raw message