[JDEV] id attr in message packets
Wing, Oliver
OWing at vianetworks.com
Mon Jul 15 03:11:23 CDT 2002
Sean Wheeler wrote:
> foo bar bar
> id=1 id=2 id=3
> thread=a thread=a thread=a
>
> It is unclear whether messages 2 or 3 are
> a reply to message 1 or not. The alternate
> approach is
Just use multiple threads. Each new message (which isn't a reply) has a new
thread ID.
Jermey Nickurak wrote:
> The ID attribute should be preserved for
> sending and receipt of the first message,
> but it need not (and probabbly should not)
> be preserved in the reply. (Keeping the id
> in the reply as a default behavior would
> likely lead to keeping the same id in the
> reply to the reply, which would man
> bar at media would be sending multiple messages
> with the same id)
The ID tag is not for message tracking, but rather for internal tracking by
a jabber entity. It is therefore not necessary for the remote entity to
worry about using the original message ID.
Regards,
--
Oliver Wing
More information about the JDev
mailing list