activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kseelam <>
Subject Re: Method setMessagePrioritySupported(true) called on ActiveMQConnectionFactory doesn't work
Date Wed, 15 Sep 2010 22:40:32 GMT

Hi Gary

We configure the prioritizedMessages and the messages are retrieving fine
based on priority. 
But while producing we had to set the priority to Producer to make it work
like in the source of the priority test.


But it does not work if we set the priority to the message only like below.

message.setJMSPriority( 7 );

Is there any reason why can't we set the periority to message?

Gary Tully wrote:
> priority support needs to be enabled for a destination with a policy
> entry, prioritizedMessages
> see:
> The new (5.4) attributes are in red.
> To see the programatic setup check out the source of the one of the
> priority tests:
> ....

Thank you.
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message