Thank you so much for your quick reply. I confirmed that the value of the Property(JMSRedelivered) is set to TRUE, too.
I sended messages again after changing timeout parameter of receive() method. I tried 20 times for each parameter. The result is below: receive() : the order was correct at 20/20 times. receive(1) : the order was wrong!(20/20 times) receive(100) : the order was wrong!(5/20 times) receive(500) : the order was wrong!(1/20 times) receive(600) : the order was correct at 20/20 times. receive(750) : the order was correct at 20/20 times. receive(1000) : the order was correct at 20/20 times. Now I have one more question. In terms of performance, Which way is the best to keep FIFO order on receiving JMS messages from Queue? (1)To use receive() method (2)To use receive(timeout) method, timeout is reasonable long time(ex. 1000) (3)To use the class implementing MessageListener interface View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907340#3907340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907340 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
