Re: Priority queues with JMS Client/ Java Broker

2011-10-05 Thread Gordon Sim
On 10/05/2011 03:40 PM, Pavel Moravec wrote: From: "Alan Conway" To: users@qpid.apache.org Cc: "Pavel Moravec" Sent: Wednesday, October 5, 2011 3:35:14 PM Subject: Re: Priority queues with JMS Client/ Java Broker On 09/27/2011 03:37 AM, Pavel Moravec wrote: Hi Prav

Re: Priority queues with JMS Client/ Java Broker

2011-10-05 Thread Pavel Moravec
> From: "Alan Conway" > To: users@qpid.apache.org > Cc: "Pavel Moravec" > Sent: Wednesday, October 5, 2011 3:35:14 PM > Subject: Re: Priority queues with JMS Client/ Java Broker > > On 09/27/2011 03:37 AM, Pavel Moravec wrote: > > Hi Praveen and a

Re: Priority queues with JMS Client/ Java Broker

2011-10-05 Thread Alan Conway
On 09/27/2011 03:37 AM, Pavel Moravec wrote: Hi Praveen and all, just an additional info to prevent some confusion if you wish to use browse mode: priorities work when consuming the messages, while when browsing the queue, messages are ordered based on their enqueueing time. I.e. when sending

Re: Priority queues with JMS Client/ Java Broker

2011-09-27 Thread Praveen M
riority > 1", "priority 3" message. > While consuming messages consumes them in ordering "priority 3", "priority > 2", "priority 1" message. > > Kind regards, > Pavel > > > - Original Message - > > From: "Prav

Re: Priority queues with JMS Client/ Java Broker

2011-09-27 Thread Pavel Moravec
. Kind regards, Pavel - Original Message - > From: "Praveen M" > To: users@qpid.apache.org > Sent: Saturday, September 24, 2011 5:48:42 AM > Subject: Re: Priority queues with JMS Client/ Java Broker > > thanks a lot for your mail...I will try that. > &

Re: Priority queues with JMS Client/ Java Broker

2011-09-26 Thread Gordon Sim
On 09/24/2011 07:26 AM, Fraser Adams wrote: The correct syntax uses an extension in the queue creation: queueName;{create:always, node:{type:queue, x-declare:{arguments:{'x-qpid-priorities':2 Hi Ted - on a slightly related note as there any documentation anywhere that gives a definitive

Re: Priority queues with JMS Client/ Java Broker

2011-09-23 Thread Fraser Adams
The correct syntax uses an extension in the queue creation: queueName;{create:always, node:{type:queue, x-declare:{arguments:{'x-qpid-priorities':2 Hi Ted - on a slightly related note as there any documentation anywhere that gives a definitive list of what can go in the x-declare a

Re: Priority queues with JMS Client/ Java Broker

2011-09-23 Thread Praveen M
thanks a lot for your mail...I will try that. On Fri, Sep 23, 2011 at 6:15 PM, Ted Ross wrote: > On 09/23/2011 07:44 PM, Praveen M wrote: > >> Hi, >> >> I'm trying to write a simple test to use the priority queues. >> >> I have a couple of questions. >> >> Can I create priority queues on the fly

Re: Priority queues with JMS Client/ Java Broker

2011-09-23 Thread Ted Ross
On 09/23/2011 07:44 PM, Praveen M wrote: Hi, I'm trying to write a simple test to use the priority queues. I have a couple of questions. Can I create priority queues on the fly at run-time? if I use session.createQueue("queueName ;{create: always , node : {type : queue, durable : true, prior

Priority queues with JMS Client/ Java Broker

2011-09-23 Thread Praveen M
Hi, I'm trying to write a simple test to use the priority queues. I have a couple of questions. Can I create priority queues on the fly at run-time? if I use session.createQueue("queueName ;{create: always , node : {type : queue, durable : true, priority : true}}"); will the queue be created a