You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "Westelinck, Kenneth" <We...@delaware.be> on 2006/06/08 14:21:52 UTC

JMSPriority ...

Hi all,

I came across the following issue:
http://issues.apache.org/activemq/browse/AMQ-122?page=all
This says that JMSPriority has been added, but it is not available in
the 4.0 M4. Apparantly it is not available in the version that is
incubating either. So, short question, does ActiveMQ 4.0 has JMSPriority
support?

Thanks.


Regards,

Kenneth

Re: JMSPriority ...

Posted by Bj?rn Rath <br...@picturesafe.de>.
Hi James,

I do not have an idea, how to accomplish priorities with
Point-to-Point-messaging (through a queue) outside the message broker,
because to my knowledge a message consumer just gets a single message and
has no information of any other message (with perhaps a higher priority) and
thus normally doesn't know the message queue. 
Can you tersely describe the mentioned JMSPriority/Selectors-method?  

Many thanks in advance,
Bj?rn


James.Strachan wrote:
> 
> On 6/8/06, Westelinck, Kenneth <We...@delaware.be> wrote:
> ...
> Though to be honest the most powerful and efficient way to do priority
> based dispatching is to use JMSPriority with a selectors anyway; then
> you can have guarrenteed service levels based on priority (e.g. have
> 1000 threads dedicated to only procesing high priority messages).
> 
> -- 
> 
> James
> -------
> ...
> 



-- 
View this message in context: http://www.nabble.com/JMSPriority-...-tf1754744.html#a6640375
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: JMSPriority ...

Posted by James Strachan <ja...@gmail.com>.
On 6/8/06, Westelinck, Kenneth <We...@delaware.be> wrote:
> Hi all,
>
> I came across the following issue:
> http://issues.apache.org/activemq/browse/AMQ-122?page=all
> This says that JMSPriority has been added, but it is not available in
> the 4.0 M4. Apparantly it is not available in the version that is
> incubating either. So, short question, does ActiveMQ 4.0 has JMSPriority
> support?

AFAIK there's no automatic reordering of messages to support
JMSPriority; the patch for AMQ-122 never made it into the 4.x trunk.

Though to be honest the most powerful and efficient way to do priority
based dispatching is to use JMSPriority with a selectors anyway; then
you can have guarrenteed service levels based on priority (e.g. have
1000 threads dedicated to only procesing high priority messages).

-- 

James
-------
http://radio.weblogs.com/0112098/