I am using OpenIM as the server.
I try to send a message with a property :
msg.setProperty(“prop”, new SomeSerializableObject());
When the other end receives the message, the entire “properties” section (in XML) is out.
Here is the SENT log for the sender:
ariane-rpcmessagerO0ABXNyACxjb20ubmVvcGVhay5zbWFjay5BdmFpbGFiaWxpdHlSZXF1ZXN0 TWVzc2FnZQVHZkdZv/pAAgAEWgALX2Nvbm5lY3RpbmdJAAlfbnVtUm9vbXNMAAhfY2hlY2tJbnQAEExq YXZhL3V0aWwvRGF0ZTtMAAlfY2hlY2tPdXRxAH4AAXhwAQAAAApzcgAOamF2YS51dGlsLkRhdGVoaoEB S1l0GQMAAHhwdwgAAAD7fh3S3HhzcQBAAN3CAAAAPtHdLceA==
Here is the RECEIVED log for the other end:
<message to=’‘hotel@localhost/Smack’’ from=’‘webapp@localhost/Smack’’>ariane-rpc
Seems like OpenIM hides the properties section in the xml message.
Is this possible ? I thought that Jabber implementations didn’'t process the content of messages… was I wrong ?
Is Packet.setProperty and getProperty mechanism reliable and supported on every server ?
Thanks in advance.