activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kondro <>
Subject Re: Method setMessagePrioritySupported(true) called on ActiveMQConnectionFactory doesn't work
Date Wed, 25 Aug 2010 13:23:24 GMT

I have the following section in my config file:

<policyEntry queue=">" producerFlowControl="true" memoryLimit="5mb"

and I am using 4 for my default and 9 for my high priority messages which
show up in the queue browser when I look at the messages.

When I connect to the queue, I use the following string:

However, my messages are still being consumed in the order they are added,
not based on their priority.

What am I missing?

Gary Tully wrote:
> javax.jms.Message#DEFAULT_PRIORITY = 4
> normal priority == javax.jms.Message#DEFAULT_PRIORITY
> low priority < javax.jms.Message#DEFAULT_PRIORITY

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

View raw message