tigase / tigase-server

(M) Highly optimized, extremely modular and very flexible XMPP/Jabber server
https://tigase.net
GNU Affero General Public License v3.0
322 stars 107 forks source link

How to implement a component that can listen to MQ messages and access tigase #71

Open supanwoc opened 3 years ago

supanwoc commented 3 years ago

How to implement a component that can listen to MQ messages and access tigase

woj-tek commented 3 years ago

Component development is covered in our documentation: Component Development

If you have issues with creating the component please ask more detailed questions regarding issues that you are facing.

supanwoc commented 3 years ago

Thank you very much,I've solved it。But how to consume MQ messages。I handle a lot of messages in the everysecond () method rewritten by the custom component。Is there a better way?

woj-tek commented 3 years ago

Thank you very much,I've solved it。

Could you share what the problem was and how you solved it?

But how to consume MQ messages。I handle a lot of messages in the everysecond () method rewritten by the custom component。Is there a better way?

Could you share your design and flow (or better yet - source code)? In general Tigase is event driven and all processing should be done in public void process(Packet packet) {} method.