Hi,
How can my component (written as a plugin) receive error messages? My component is creating messages to communicatore with components on other jabber servers, however those may of course not always be reachable. I assumed that I receive error packets, but I don’t. I see the exception (e.g. when DNS fails) in the logs but I don’t receive any errors.
I’ve tried these methods for sending, all with the same result:
componentManager.sendPacket(myplugin, m);
XMPPServer.getInstance().getPacketRouter().route(m);
XMPPServer.getInstance().getMessageRouter().route(m);
XMPPServer.getInstance().getPacketDeliverer().deliver(m);
What can I do to receive an error message? Or be notified about the routing error at all?
thanks,
Markus