Re: JMSPriority implemented in AMQ 5.4.1?

2010-12-27 Thread rliguori
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

JMSPriority implemented in AMQ 5.4.1?

2010-12-23 Thread rliguori
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

Re: JMSPriority implemented in AMQ 5.4.1?

2010-12-23 Thread rliguori
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:

Re: JMSPriority implemented in AMQ 5.4.1?

2010-12-23 Thread andrew . marlow
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

Re: JMSPriority implemented in AMQ 5.4.1?

2010-12-23 Thread rliguori
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

Re: JMSPriority implemented in AMQ 5.4.1?

2010-12-23 Thread rliguori
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

Re: JMSPriority implemented in AMQ 5.4.1?

2010-12-23 Thread Timothy Bish
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

Re: JMSPriority implemented in AMQ 5.4.1?

2010-12-23 Thread rliguori
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:

Re: JMSPriority implemented in AMQ 5.4.1?

2010-12-23 Thread Timothy Bish
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

Re: JMSPriority implemented in AMQ 5.4.1?

2010-12-23 Thread rliguori
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

Re: JMSPriority implemented in AMQ 5.4.1?

2010-12-23 Thread Timothy Bish
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

Re: JMSPriority implemented in AMQ 5.4.1?

2010-12-23 Thread rliguori
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: