[JDEV] Problems with auto reply

Ralph Meijer jabber.org at ralphm.ik.nu
Sat Nov 23 04:39:39 CST 2002


On Sat, Nov 23, 2002 at 09:14:46AM +0000, Matthias Wimmer wrote:
> Hi Ralph!

Hi!

> Ralph Meijer wrote:
> 
> >In the second alternative: not responding to a message of type error seems
> >natural. A new 'error' code should be defined for this, probably of the
> >form 2xx, since this error message is in response to a message which
> >was delivered (and keeping analogy with HTTP status codes).
> >
> I don't think that this is okay with the sematics of an error. A new 
> message type, attribute or element will sure be better.
> The advantage of using an existing message type is that it can be 
> handled with all existing Jabber libraries ...

Hmm, yes. But personally I am strongly against overloading protocol elements
with other meanings. Using type='headline' for automatic replies is far
from intuitive. Maybe my suggestion of adding a new status code is too,
so the best way to go about this is probably adding a <x/> element
of a specific namespace to hold the information that this message indeed
is an automatic reply, analog to the use of message events.

-- 
Groetjes,

Ralphm



More information about the JDev mailing list