Question

I want to run an XMPP server (Openfire) and register an external component to handle the messages it will recieve (using the Whack library). The external component will run my game logic and I will be using XMPP to send player moves to the server and status updates in the other direction. The bonus with XMPP is that we get built in chat for free.

The trouble is, although Ignite look fairly established, I can't find a tutorial on how to write, register and debug an External XMPP component written with Whack, there are very few in general for that matter.

I am not invested in either the server implementation or the External Component library, java is just my language of choice. If I was to move to Erlang or Scala or something it would have to be a very simple in that language.

A single tutorial or example would go a long way here, I just need an basic External XMPP component pretty please!

Kind regards,

Gavin

Was it helpful?

Solution

There are a few examples/tutorials for related XMPP libraries like Tinder and Smack which you may find useful.

Or, in a rather different vein, you could decide to be protocol-agnostic and use IMified's API, in which they host the "chatbot" (as it were) which connects with your simple HTTP-based response server built in whatever language/framework/whatever you prefer. (They do a lot better explaining it than I do.)

OTHER TIPS

I found this tutorial which explains how an external component can be implemented using the Whack library.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top