[jdev] Re: IQ handling. Was: Directed presence + presence probe result

Vinod Panicker vinod.p at gmail.com
Wed Nov 23 23:47:51 CST 2005


On 11/23/05, Magnus Henoch <mange at freemail.hu> wrote:
> Norman Rasmussen <norman at rasmussen.co.za> writes:
>
> > I think that the iq packet MUST be handled atomically.  So either all
> > changes are made or none are.  (you'll probably struggle to find a
> > server that implements this though)
>
> Ejabberd does, except that it silently ignores items with invalid JIDs
> and other syntax errors.

If its my own server (which it is) and if all the items are local,
then its possible to handle the entire IQ stanza atomically.

What if the items belong to different servers and my server has to do
an s2s connect for it?  There's no question of a rollback in this
case.

Regards,
Vinod.



More information about the JDev mailing list