[jboss-user] [JBoss Messaging] - Re: How to know message's send order?
I'm afraid that I understand your query. Can you elaborate on this please ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249163#4249163 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How to know message's send order?
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=bbop=viewtopicp=4249168#4249168 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How to know message's send order?
A message's timestamp is set on the *client side* before it is sent, not by the server. The order messages are put in a queue are the order they are received on the server. So, there's no guarantee that messages in a queue will be in order of timestamp. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249172#4249172 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user