[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

subrata_jboss do-not-reply at jboss.com
Mon May 12 07:45:33 EDT 2008


-->My producer is sending Message M1,M2,M3 to a queue /queue/q1
-->no consumer is running that time, so i see M1,M2,M3 in mysql data base.
--> I started my producer to send messages M4,M5,M6 and at the same
     time i started my consumer too.
--> So in the consumer i see the messages M4,M5,M6 first followed by M1,M2,M3(that means it is taking the messages from the memory first rather than persistent data base)
--> is there any mechanism that ensures that i get M1,M2,M3,M4,M5 then M6
 (i.e. old message first)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150100#4150100

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150100



More information about the jboss-user mailing list