[Standards-JIG] JEP-0033: How to handle a server with only one recipient?

Peter Saint-Andre stpeter at jabber.org
Thu Aug 3 11:02:17 CDT 2006


Tobias Markmann wrote:
> Hi,
> 
> I'm writing an implementation of JEP-0033 in form of an external
> component in c++. I have some questions depending that JEP:
> 
>    1. Does the service MUST check if there is a multicast compatible
>       component available on the server of the recipient if there is
>       only ONE recipient at that server? I think, if there is only one
>       recipient it can just send the message to him.

Sure, that seems like a smart optimization.

>    2. How far does the service have to check if it can deliver the
>       message? Just looking whether the servers of the recipients are
>       online or more?

Yes that seems appropriate.

>    3. What to do if the service receives a message without a
>       <addresses/> stanza?

I guess that shouldn't happen (at some point the <addresses/> will be
gone and the stanza will go to a server rather than a multicast
component), but I think if a multicast component (which of course could
be part of a server) receives a stanza without an <addresses/> block it
would sent things to local addresses or return an error to the multicast
component. Could you provide a detail example of this scenario?

>    4. Similar question then three: What to do in general when receiving
>       stanzas which are not compliant to the JEP? For example no
>       <address/> stanza in the <addresses/> stanza, etc.

Return a <bad-format/> error.

Peter

-- 
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.shtml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.jabber.org/pipermail/standards/attachments/20060803/ef0aff5d/smime.bin


More information about the Standards-JIG mailing list