Creating an Openfire XMPP External Component - Use Tinder or Whack?

I am trying to create an external component for an Openfire XMPP server, but I am a bit confused between Tinder and Whack. Tinder seems to be a new library and has an AbstractComponent interface, which Ignite Realtime recommends over standard components, however, when someone talks about creating an external component, they seem to use the Whack library.

Should I use Tinder or Whack? Or a little?

Thank you very much

+4
source share
1 answer

Tinder uses the Whack library and wraps the component in the abstract interface of the component, so you do not need to implement all methods of processing all types of packages if you do not need it.

Look at the source for an example of weather.

It's also worth looking at the whack source to see how it processes packets, as this is what ultimately connects to your server and sends packets.

Personally, I use the externalcomponent manager from whack and configure the abstract component using tinder, which is what the weatherabstract example does.

This is the best place to start.

+2
source

Source: https://habr.com/ru/post/1337478/


All Articles