Replacement for Ofchat

Hello everyone… I don’t know if anyone else has this need, but I used the OfChat plugin features a lot in OpenFire. I would send messages from my app via RESTAPI to Spark users in the company using OpenFire. Using POST requests, I would send messages about certain events that occurred in my application directly to the user involved in the issue.

After version 4.7.4 of OpenFire onwards, this plugin lost its functionality. I can’t even install it anymore. I can’t even use it.

With this, all the dynamic notification functions that my application sent to users via Spark/OpenFire/Ofchat lost their functionality.

Does anyone have any suggestions for a plugin or feature that would allow me to connect to OpenFire and send a message to certain users using REST API requests?

If there isn’t one, I’ll have to look for another messaging server that meets this need… unfortunately, after 8 years of using OpenFire

The most straightforward option is to use an XMPP client library. Many of these exist, for many different programming languages. The Openfire documentation has getting-started guides for some of them. They do not offer a REST-like API though.

The problem is there… the application I use integrates with WhatsApp and makes requests to other platforms, such as OpenFire, via REST APIs… But would the Inverse plugin with Converse.js2 be a good option?

SparkWeb is what you need. However, it is still work-in-proogress and I have spend very little time on it recently. It is based on a commercial plugin I develop at work.

Here is the swagger documentation file
swagger.json (51.4 KB)

It would be an alternative for a more robust and improved solution, but my need is:
to send just one message to the user (in Spark) informing them that there is a customer waiting on the service channel, which is a third-party platform, where the only option for interacting with it is to send REST requests to other applications, in this case Openfire.

In version 4.8.0 I am working normally using the plugins (REST API and CHAT API Ofchat) and it works perfectly, but I cannot update OpenFire, because when I update it, it stops working and even after reinstalling it, it does not work. OpenFire does not allow me to load the CHAT API, it displays errors and does not start the plugin.

I am working and using OpenFire without updating… that is what I can do at the moment.