activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luana87 <l.fiorit...@live.it>
Subject Re: Message PRIORITY
Date Mon, 16 Feb 2009 16:29:01 GMT



James.Strachan wrote:
> 
> 2009/2/16 Luana87 <l.fioritoni@live.it>:
>>
>> Hello,
>> I'm starting to use ActiveMQ v5.2.0 and I need to prioritize messages
>> sent
>> from only one producer.
>> I am wondering which the correct way is.
>> In particular I would like to understand which the difference is between
>> message.setJMSPriority(priority) and sender.setPriority(priority) where
>> message is a ActiveMQTextMessage and sender is a QueueSender.
> 
> See this FAQ entry...
> http://activemq.apache.org/how-can-i-support-priority-queues.html
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://fusesource.com/
> 
> 


Thank you for your response.
Actually I'm able to order message by priority before to put keep they in my
queue.
I only ask about difference between message.setJMSPriority(priority)  and
sender.setPriority(priority)  methods and their use with ActiveMQ.

Thanks again,
Luana

-- 
View this message in context: http://www.nabble.com/Message-PRIORITY-tp22039031p22040544.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message