Yes, that is what I was missing... Tim addressed it in this thread, and I
adjusted my code.
I do have one outstanding question though, assuming that I get my messages
priorities to the producer...
Are the priority algorithm(s) applied by default or do the queues need to
be configured as in
Does ActiveMQ 5.4.1 support JMSPriority based on the the JMS API 1.1.
specification:
JMS does not require that a provider strictly implement priority ordering
of
messages; however, it should do its best to deliver expedited messages ahead
of normal messages.
If it does, I would like to see the
Two interesting links I found:
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=64892
http://activemq.apache.org/how-can-i-support-priority-queues.html
--
View this message in context:
ordering.
Regards,
Andrew Marlow
Internet
robert2...@hotmail.com
23/12/2010 16:17
Please respond to
users@activemq.apache.org
To
users@activemq.apache.org
cc
Subject
JMSPriority implemented in AMQ 5.4.1?
Does ActiveMQ 5.4.1 support JMSPriority based on the the JMS API 1.1
I think this part of the spec is terrible.
It does leave a lot to be desired.
It is so vague you can do nothing to order by priority and still claim
compliance.
I agree it is vague, but my interpretation is that something must be
implemented. Examine this statement, it should do its best to
I think this part of the spec is terrible.
It does leave a lot to be desired.
It is so vague you can do nothing to order by priority and still claim
compliance.
I agree it is vague, but my interpretation is that something must be
implemented. Examine this statement, it should do its best to
On Thu, 2010-12-23 at 09:22 -0800, rliguori wrote:
I think this part of the spec is terrible.
It does leave a lot to be desired.
It is so vague you can do nothing to order by priority and still claim
compliance.
I agree it is vague, but my interpretation is that something must be
Did you set the priority on the MessageProducer ?
No, I set the priority of the individual messages. Example:
message.setJMSPriority(9); Why would I set the priority on the producer,
please provide an example and explain, if you don't mind.
--
View this message in context:
On Thu, 2010-12-23 at 09:50 -0800, rliguori wrote:
Did you set the priority on the MessageProducer ?
No, I set the priority of the individual messages. Example:
message.setJMSPriority(9); Why would I set the priority on the producer,
please provide an example and explain, if you don't
Got it, thanks.
So where is the priority algorithm applied? On the broker after the
message(s) are sent?
Thanks again.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/JMSPriority-implemented-in-AMQ-5-4-1-tp3162256p3162416.html
Sent from the ActiveMQ - User mailing
On Thu, 2010-12-23 at 10:20 -0800, rliguori wrote:
Got it, thanks.
So where is the priority algorithm applied? On the broker after the
message(s) are sent?
Thanks again.
Its rather complicated as it has a lot to do with the Message Store and
in memory caching so there's not really
Thanks again...
One more question... is the priority algorithm applied by default or do the
queues need to be configured as in this documentation;
http://activemq.apache.org/how-can-i-support-priority-queues.html.
Thanks.
--
View this message in context:
12 matches
Mail list logo