Not receiving the Non persistence conference messages


I am facing some issues in receiving non persistence conference messages.

I am using spark UI and Open fire server and I integrated open fire server with custom DB.

Using “Message Archive” plug in to persist chat history into my custom data base and I am able to store successfully.

And I am also able to receive the messages from the DB when I close and reopen the conference room again.

But Before that once users join the conference room, the user’s chat messages are not getting displayed on other side.

And this is not happening one-one chat, it is working fine.

I am sure, I missed out some configuration, but I could not found it.

Can you please help to resolve this issue?

Thanks, Venu