powered by Jive Software

In openfire how to create plugin to push message to a api based on the message type

In openfire I am sending a custom attribute type like m_type="route1", m_type="route2" while sending message, I wanted to create a plugin in openfire which will push the data to REST API by listening to all chatrooms. How can we create plugin for this?

That seems to be best approached by using a PacketInterceptor, as explained in the Openfire Plugin Developer Guide.