activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Is this possible with ActiveMQ?
Date Fri, 26 Apr 2013 14:01:20 GMT
How long can the consumer wait to get the higher priority message? 100K may
not be what you want... or 85K still no good... but what's the number
that's acceptable then?

If you can accept "some number of messages" are allowed to come ahead of
the higher priority message, then you can just use JMS priority... all of
producer A's messages send with default priority... producer B send with
high (9) priority... the "number of messages" in the equation can be
controlled by you depending on consumer prefetch or cursor caching in the
broker...


On Thu, Apr 25, 2013 at 3:15 PM, Michael Black <mdblack98@yahoo.com> wrote:

> Looks like you might be able to use the statistics plugin
> It appears that you can query any queue and find out how many messages are
> in it.
> So if you can use fixed queue names this should work.
> http://activemq.apache.org/statisticsplugin.html
>
>
>


-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message