[jdev] Resource-to-Resource Messaging and priorities

Matthias Wimmer m at tthias.net
Thu Nov 10 09:05:05 CST 2005


Hi Roel!

Roel Spruit schrieb:

> This is the xml from both client1 and client2, I censured all jids and 
> stuff.
>
> CLIENT1:
> SENT: <message xmlns="jabber:client" to="roel at blah.nl/client2 
> <http://roel@blah.nl/client2>" 
> type="chat"><body>sometext</body><thread>blah</thread></message>
>
> CLIENT2
> RECV: <message to="roel at blah.nl/client2 <http://roel@blah.nl/client2>" 
> type="chat" from="roel at blah.nl/client1" 
> <http://roel@blah.nl/client1%22>><body>sometext</body><thread>blah</thread></message>
> SENT: <message id="jcl_9" to="roel at blah.nl/client1 
> <http://roel@blah.nl/client1>" 
> type="chat"><thread>blah</thread><body>heyyy</body><x 
> xmlns="jabber:x:event"><composing/></x></message>
> RECV: <message id="jcl_9" to="roel at blah.nl/client1 
> <http://roel@blah.nl/client1>" type="chat" from="roel at blah.nl/client2" 
> <http://roel@blah.nl/client2%22>><thread>blah</thread><body>somereply</body><x 
> xmlns="jabber:x:event"><composing/></x></message>


Have you checked that both clients have sent <presence/> to the server? 
Does the presence have non-negative priority? (Well resource-directed 
messages should be sent to the correct session anyway, but maybe that's 
the difference to your tests with Exodus, that worked.
Like Alexander said: The <message/>s look correct. There should be 
either the session not correctly set up (no <presence/> sent), or maybe 
a server but only affecting sessions in some conditions.


Tot kijk
     Matthias



More information about the JDev mailing list