Start plugin processing at server start up.

Razor Ra
Added over 5 years ago


My plugin loads at tigase server start up, I want to know is there a way to start the processing of plugin at server start up.

For example, at server start up, I want my plugin to start sending stanzas to a list of jabber ids.


Replies (1)


Added by Artur Hefczyc TigaseTeam over 5 years ago

Assuming you are talking about SM plugins, the answer is no*. Plugins are not for that. Plugins are not for sending stanzas. They role is to process stanzas incoming from a user or stanzas going to the user. They execution is triggered by a stanza. We call these plugins *processors because this is what they do, they process XMPP data flowing to/from a user.

If you need something to send stanzas on it's own and generate traffic on it's own, you should look at the component API.