[JDEV] Recognizing cached messages

Andreas Ames andreas.ames at Tenovis.com
Mon Jun 10 05:24:22 CDT 2002


Hi all,

i'm producing a jabber based application with an event producer and
several event consumers, both of these categories within the
'jabber:client' namespace.  The events are delivered through the
<message/> element.  The events delivered are only meaningful in
'near-realtime', i. e. elder events are no longer meaningful to the
consumers.

Now my problem is, how the consumers can tell 'instantly' sent
messages from messages cached by the jabber server because the
consumer was offline at send-time (to ignore them).

Are all cached messages tagged with a <x/> in the 'jabber:x:delay'
namespace?  If so, I could use this as a trigger to ignore those
messages, meaning that my producer couldn't use this namespace in its
events.  Are there any useful applications of this namespace within in
jabber client?  Do you have other proposals how my problem could be
solved?


TIA

Andreas Ames



More information about the JDev mailing list