Re: even then odd message ordering

2007-05-24 Thread warwick.mayson
Hey James Sorry didnt get back to you earlier. Bit frantic. Anyway, I have a test main class that calls run() warwick James.Strachan wrote: > > who calls ConsumerImpl.run()? > > On 5/22/07, warwick.mayson <[EMAIL PROTECTED]> wrote: >> >> hi James >> >> Both the producer and consumers are

Re: even then odd message ordering

2007-05-23 Thread James Strachan
who calls ConsumerImpl.run()? On 5/22/07, warwick.mayson <[EMAIL PROTECTED]> wrote: hi James Both the producer and consumers are managed by Spring. They are not run as threads, so there is only one instance of each. The producer test code: public void testSend() { Producer producer

Re: even then odd message ordering

2007-05-22 Thread warwick.mayson
hi James Both the producer and consumers are managed by Spring. They are not run as threads, so there is only one instance of each. The producer test code: public void testSend() { Producer producer = (Producer) Context.instance().getBean("queueProducer"); for (int i

Re: even then odd message ordering

2007-05-22 Thread James Strachan
On 5/22/07, warwick.mayson <[EMAIL PROTECTED]> wrote: Hi Thanks for the fast response! I am using activemq 4.1.1 The producer, consumer and activemq conf is attached I have test class that simply loops i number of times calling producer.send("msg#" + i) and the trace on the consumer.onMessag

Re: even then odd message ordering

2007-05-22 Thread warwick.mayson
Hi Thanks for the fast response! I am using activemq 4.1.1 The producer, consumer and activemq conf is attached I have test class that simply loops i number of times calling producer.send("msg#" + i) and the trace on the consumer.onMessage() method displays all even numbered messages followed

Re: even then odd message ordering

2007-05-21 Thread James Strachan
On 5/20/07, warwick.mayson <[EMAIL PROTECTED]> wrote: Hi All I have a simple setup... one producer, one broker one consumer for a single queue. The producer sends numbered TextMessages The consumer receives all even numbered messages then recieves all odd numbered messages. Has anyone else s