powered by Jive Software

How can I get the returned xml? it seems nothing goes through XMPPEncoder

Hey guys,

I want to wrap the returned xml, how can I get it? It seems like nothing goes through XMPPEncoder and xml is converted to ByteBuffer before that, is there any api/hook I can use? Thanks for any suggest.



Hey Chen,

Could you give us an example of what you are trying to do? Using PacketInterceptors could be an option for you I guess.


– Gato

Gato, I want to encode the returned xml with some customized protocol before it’'s sent to a client, for example, I want to get the xml text in XMPPEncoder.