Does smack guarantee message order / sequence?

I’'m developing an DHTML-AJAX -JSP-Smack chat application. When a lot of users rapidly enter messages, some messages get out of order. My suspicion is that the cause is the thread-per-request model in the web application server. If so, I might be able to build something that can guarantee order but it would need the order information in the messages. …

Is there a way to get that with smack?

I see message IDs look sequenced, but are they really?

Is there guaranteed message order in Smack or XMPP?

Many thanks,


Never mind.

According to XMPP spec RFC 3920 message must be guaranteed order from xmpp servers.