[ejabberd] ejabberd and reliable message delivery

Peter Saint-Andre stpeter at stpeter.im
Tue Jun 17 19:05:40 MSD 2008

On 06/17/2008 6:08 AM, Magnus Henoch wrote:
> "Teemu Harju" <teemu.harju at gmail.com> writes:
>> I'm interested in knowing how can I implement reliable message delivery
>> using ejabberd? I did some experiments with ejabberd 2.0.1 and mod_offline
>> enabled. I tried sending messages between two clients and disconnected one
>> clients ethernet cable. It takes naturally some time from the server to
>> notice that the client has disconnected. The messages sent during this
>> period did not reach the other client after it became online again. I guess
>> mod_offline relies on the presence status of the client and hence the
>> messages don't get stored there. I'm just wondering shouldn't the server
>> notice that the client has lost the connection when sending a message? Or
>> how does it work with TCP? And when the server notices the lost connection,
>> could it store the messages to mod_offline database to be delivered when the
>> client recovers from the lost connection?
> I think XEP-0198 solves exactly this problem, so I once started hacking
> support for this for ejabberd (see my message to this list on
> 2007-12-04, though it was rather short of information).  I haven't kept
> it updated with SVN since then, but you can get the code using GNU Arch:
> tla register-archive http://www.dtek.chalmers.se/~henoch/archive-2005/
> tla get mange at freemail.hu--2005/ejabberd--stanza-ack--0 ejabberd-stanza-ack

Well, XEP-0198 needs to be fixed quite a bit, it's quickly moving up my
priority list. :)


Peter Saint-Andre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20080617/0b6575f2/attachment.bin 

More information about the ejabberd mailing list