You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by samahome <sr...@boeing.com> on 2006/09/14 01:57:32 UTC

Re: [activemq-dev] Support for message priority (AMQ-122)

Does this mean ActiveMQ(Version 4.0.1) does not support Message priorities ? 

If it does support, could you please point me to some specific 
documentation ?

Regards
Sreenivas Sama




Ramzi Saba wrote:
> 
> Per AMQ-122, the existing ActiveMQ implementation does not support 
> message priority.
> 
> I was able to make straightforward changes to MemoryBoundedQueue to 
> store packets in one of 10 linked lists (DefaultQueueList) based on the 
> packet's priority.  Per the JMS spec, I support priorities 0 thru 9.  On 
> dequeue, I try to consume packets from the 10 linked lists by priority.
> 
> I just wanted to run this idea by you guys before I submit to SVN HEAD.
> 
> Let me know if you have any concerns.
> 
> Thanks.
> -ramzi
> 
> 

-- 
View this message in context: http://www.nabble.com/-activemq-dev--Support-for-message-priority-%28AMQ-122%29-tf135416.html#a6297119
Sent from the ActiveMQ - Dev forum at Nabble.com.


Re: [activemq-dev] Support for message priority (AMQ-122)

Posted by James Strachan <ja...@gmail.com>.
On 9/14/06, samahome <sr...@boeing.com> wrote:
> Is this feature going to be in activeMQ 4.2 version or was this feature
> existed in any of the previous releases (3.2 or any) of activeMQ ?
>
> How about specifying producer priorities and consumer priorities ? Does this
> exist in 4.0.1 release? From the documentation, my understanding is
> confused.

We support consumer priorities. We use this for example to weight
local consumers above remote brokers.

See
http://www.activemq.org/site/consumer-priority.html
http://www.activemq.org/site/destination-options.html
-- 

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

Re: [activemq-dev] Support for message priority (AMQ-122)

Posted by samahome <sr...@boeing.com>.
Is this feature going to be in activeMQ 4.2 version or was this feature
existed in any of the previous releases (3.2 or any) of activeMQ ?

How about specifying producer priorities and consumer priorities ? Does this
exist in 4.0.1 release? From the documentation, my understanding is
confused.

Could you please clarify ?

- Sreenivas 




Hiram Chirino wrote:
> 
> Not at the current time.
> 
> On 9/13/06, samahome <sr...@boeing.com> wrote:
>>
>> Does this mean ActiveMQ(Version 4.0.1) does not support Message
>> priorities ?
>>
>> If it does support, could you please point me to some specific
>> documentation ?
>>
>> Regards
>> Sreenivas Sama
>>
>>
>>
>>
>> Ramzi Saba wrote:
>> >
>> > Per AMQ-122, the existing ActiveMQ implementation does not support
>> > message priority.
>> >
>> > I was able to make straightforward changes to MemoryBoundedQueue to
>> > store packets in one of 10 linked lists (DefaultQueueList) based on the
>> > packet's priority.  Per the JMS spec, I support priorities 0 thru 9. 
>> On
>> > dequeue, I try to consume packets from the 10 linked lists by priority.
>> >
>> > I just wanted to run this idea by you guys before I submit to SVN HEAD.
>> >
>> > Let me know if you have any concerns.
>> >
>> > Thanks.
>> > -ramzi
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-activemq-dev--Support-for-message-priority-%28AMQ-122%29-tf135416.html#a6297119
>> Sent from the ActiveMQ - Dev forum at Nabble.com.
>>
>>
> 
> 
> -- 
> Regards,
> Hiram
> 
> Blog: http://hiramchirino.com
> 
> 

-- 
View this message in context: http://www.nabble.com/-activemq-dev--Support-for-message-priority-%28AMQ-122%29-tf135416.html#a6311172
Sent from the ActiveMQ - Dev forum at Nabble.com.


Re: [activemq-dev] Support for message priority (AMQ-122)

Posted by Hiram Chirino <hi...@hiramchirino.com>.
Not at the current time.

On 9/13/06, samahome <sr...@boeing.com> wrote:
>
> Does this mean ActiveMQ(Version 4.0.1) does not support Message priorities ?
>
> If it does support, could you please point me to some specific
> documentation ?
>
> Regards
> Sreenivas Sama
>
>
>
>
> Ramzi Saba wrote:
> >
> > Per AMQ-122, the existing ActiveMQ implementation does not support
> > message priority.
> >
> > I was able to make straightforward changes to MemoryBoundedQueue to
> > store packets in one of 10 linked lists (DefaultQueueList) based on the
> > packet's priority.  Per the JMS spec, I support priorities 0 thru 9.  On
> > dequeue, I try to consume packets from the 10 linked lists by priority.
> >
> > I just wanted to run this idea by you guys before I submit to SVN HEAD.
> >
> > Let me know if you have any concerns.
> >
> > Thanks.
> > -ramzi
> >
> >
>
> --
> View this message in context: http://www.nabble.com/-activemq-dev--Support-for-message-priority-%28AMQ-122%29-tf135416.html#a6297119
> Sent from the ActiveMQ - Dev forum at Nabble.com.
>
>


-- 
Regards,
Hiram

Blog: http://hiramchirino.com