[jboss-user] [JBoss Messaging] - Re: How to know message's send order?

the.finder do-not-reply at jboss.com
Wed Aug 12 05:27:42 EDT 2009


My code is:

  | Message message = consumer.receive(1);
  | 

I got 2 messages by order: msg1, msg2, I find sometimes msg1.getJMSTimestamp() > msg2.getTimestamp(), but I send msg1 before msg2.

I refer to the source of JBM-1.4.2, maybe jbm query the queue order by "ORD", which is a field of jbm_msg_ref table, but I cannot got it.

Is there anyway to determine whether I send msg1 before msg2?

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

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



More information about the jboss-user mailing list