i’m looking to write a plugin that listens for particular xml data sent in (not an XMPP packet, arbitrary xml) and then replies with a certain xml response. (also not XMPP)
looking for ideas for the best way to do this. the PacketInterceptor interface seems to give me a chance to read all incoming packets, but since the incoming xml is not an XMPP packet, i imagine it wouldn’t get that far.
or should i go lower and look to listen directly on the open socket connections. if so, what’s the easiest way to do this?