[Pubsub] Offline message handling

Hi everybody,

In the project I’m working on, we would like to redirect pubsub notifications to a message broker if the subscriber is offline.

Our idea is to develop an ActiveMQ plug-in.

Is there a simple way to redirect offline pubsub messages within Openfire or is the solution to detect “pubsub” messages

in the OfflineMessageStore (function addMessage(Message m)) and then use the plug-in to redirect them to ActiveMQ?

In other terms, do we have to modify the OfflineMessageStore class or am I blind (I am a newbie to openfire) and missed

something in the API documentation?

Thanks a lot if you can help.

CiaoCiao