Order of history messages


When a new participant joins a MUC, it receives the history messages of that MUC.

I need to know if these “delayed” messages are sent in the same order or they may be sent in random order ?

http://xmpp.org/extensions/xep-0203.html : document does not specifies this.

Please point some documentation of Openfire which states this or otherwise so that I can present this information

with confidence to others.

Broader Context:

We are integrating the chat widget in the website page itself instead of a pop out.

So if the page refreshes, it needs to get the complete history from the server in a reliable manner and in order.

Putting the chat history in cookie/localstorage is not an option. So this fetch of history will be more

often as compared to the normal new participant joined event as for every refresh I will make my visitor leave the MUC

and immediately join it back with the same nickname. It will also be great if someone can also tell me if openfire will scale

properly in this kind of scenario or not.




There used to be a bug with openfire whereby these mesages would come in ‘random’ order, but those days are gone I believe.

To know if openfire will scale, you need to have a test environment to see if it does. There is no other way to tell.


Hi Daryl,

Thanks for the quick reply. I was going through other threads regarding “messages out of order” issue. But I cannot find something where this issue was marked as fixed and committed for some version. I did find the below issue but it is not marked fixed. Can you please confirm somehow.

http://issues.igniterealtime.org/browse/OF-115?focusedCommentId=19780&page=com.a tlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-19780



This ticket is related to server-2server connection (two Openfire servers talking one to each other), which is not the case for you.