[JDEV] Offline Messages to a specific resource...

Michael Brown michael at aurora.gen.nz
Tue Oct 22 03:28:33 CDT 2002


Yeah - I would also be interested in a solution that allows us to force a
message to an "offline" resource.  Often when I am at work for example, I
want to send myself a link so I can look at it when I am at home and have
more time.  It this case, it would be nice to be able to send a message
containing the URL to me at server/home from me at server/work, even if I have not
left myself logged on at home.

In normal situations I agree it makes sense for messages to be delivered to
the next resource to come online.

Michael.


> Hi Ritu,
>
>  > I tried sending a message with a specific resource when the user is
>  > offline, but discovered that the message is shown to the user even if
>  > he logs on with a different resource.
>
> This behaviour is "by design". ;-) Section eight, "Routing and Delivery
> Guidelines", in draft-miller-xmpp-im-00, gives the rules for message
> routing.  The first choice is to deliver to a JID that matches exactly.
> If there is no such JID logged on, the server will fall back to the
> second choice, delivery to a JID which matches apart from the resource.
>
> When there are no resources logged on, neither choice will be possible.
> As soon as a partially matching JID logs on, the second choice becomes
> possible and the message will be delivered.
>
> --
> Pete
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev




More information about the JDev mailing list