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 by all odd. The consumer
completes processing one message before handling the next. 

The behavior is consistent and always occurs as described. I initially
thought it may have been synchronization on the logging but i have retested
persisting each message with no change in behaviour

Freaky! 

Thanks again

Warwick http://www.nabble.com/file/p10733989/ConsumerImpl.java
ConsumerImpl.java  http://www.nabble.com/file/p10733989/ProducerImpl.java
ProducerImpl.java  http://www.nabble.com/file/p10733989/activemq-node1.xml
activemq-node1.xml 









James.Strachan wrote:
> 
> 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 seen this behaviour? Or explain why this is occuring? I
>> can
>> supply the broker configuration file if that is any help
> 
> This sounds very strange. Can we see the Java code of your single
> producer & consumer?
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/even-then-odd-message-ordering-tf3787260s2354.html#a10733989
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to