[Standards-JIG] Behaviour when sending a message to a negativepriority resource

JD Conley jd.conley at coversant.net
Mon Sep 11 16:26:23 UTC 2006

Also, from what I remember at the interop event, we decided client software should represent negative priority resources as presence-only resources. Thus the resource is shown as available, but the user cannot send it a message through the user interface.


-----Original Message-----
From: standards-jig-bounces at jabber.org [mailto:standards-jig-bounces at jabber.org] On Behalf Of Matthias Wimmer
Sent: Monday, September 11, 2006 1:50 AM
To: Jabber protocol discussion list
Subject: Re: [Standards-JIG] Behaviour when sending a message to a negativepriority resource

Mickael Remond schrieb:
> I was wondering what is the correct behaviour in the following case, but
> did not manage to find the correct reference.

RFC 3921, 11.1 clause 1:

If the JID is of the form <user at domain/resource> and an available 
resource matches the full JID, the recipient's server MUST deliver the 
stanza to that resource.

This is the first step when delivering messages, therefore I'd say that 
the message gets delivered to the specified resource, even if the 
priority of this resource's presence is negative.

If the client is not able to handle messages, it should "bounce" the 
message back to the sender by generating a message of type error.

Tot kijk

Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/

More information about the Standards mailing list