I’'m using smack to develop a chat software, and openfire is my XMPP server.
I need to send more information than the body and the from field when I create a message. Therefore, I use message.setProperty(key,value) to send these information when a message is sent.
When the message is displayed in the chatroom, i can display these embedded information without any problem.
The problem is when I shutdown openfire. When i start it again, the body and from field of the messages were logged in a file, so i can access the history, but the property are not saved.
Is there any way to save the whole message sent on the HD, in order to retrieve all the information when i restart the server ?