[JDEV] Messaging with Resources, desired behavior

Chris Mullins cmullins at winfessor.com
Mon May 26 18:18:19 CDT 2003

I'm trying to figure out the proper behavior for sending messages. 

When I first send a message to someone, I send it to someone at jabber.com.
The server then looks through (I'm assuming) what resources "someone" is
logged in with, picks the one with the highest priority, and forwards
the message to them. This means that the message actually is delivered
so someone at jabber.com/HighPriorityResource.

If/When they reply, so I quickly get a message back from
someone at jabber.com/HighPriorityResource. 

If I reply to that message, should I send it to the user at resource, or
continue sending it to "user", and let the server make the resource
priority decision on each and every message?

More importantly, let's say someone at jabber.com/HighPriorityResource goes
offline and I send him a message (using the full JID + Resource), but
comes online at someone at jabber.com/DifferentResource - will the server
automatically deliver the message to that resource, or will the message
be archived for the next time (s)he logs in using that exact resource

Is this behavior concretely defined somewhere? I've looked, but couldn't
find it...

Chris Mullins

More information about the JDev mailing list