Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement XEP-0142: Workgroup Queues with MongooseIM #2980

Open
sandeepjangir opened this issue Dec 13, 2020 · 1 comment
Open

Implement XEP-0142: Workgroup Queues with MongooseIM #2980

sandeepjangir opened this issue Dec 13, 2020 · 1 comment

Comments

@sandeepjangir
Copy link

MongooseIM version: latest
Installed from: source
Erlang/OTP version: latest

Hi,

I am using MongooseIM since last 4 years but now I want to implement XEP-0142: Workgroup Queues i.e. [https://xmpp.org/extensions/xep-0142.html] in my system as per my knowledge this module is not included with MongooseIM current latest version;

Any lookout / way to implement the same ?

Thanks in advance
Sandeep Jangir

@arcusfelis
Copy link
Contributor

Hi!

There are two ways to implement such functionality:

  • You can create a new XMPP component (also known as an XMPP service). XMPP component is a program, that connects to an XMPP server and registers itself to handle messages from a subdomain. After that MongooseIM would just forward messages between the component and the real clients. This would allow to code such functionality in your preferable programming language of choice.
  • You can create a new MongooseIM module, that would handle messages on a subdomain (the similar way MUC, muclight and PubSub modules work). It's a good idea to keep the persistent data in the RDBMS database.

big_tests directory contains tests. We usually create one SUITE file per module (or per XEP). And inside this file there should be one test-case per each example in the XEP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants