[JDEV] Handling Undeliverable Messages
Amarnath Yara
amarny at hotmail.com
Thu May 24 09:33:21 CDT 2001
Hi all, I am having problem in handling undeliverable messages. A message is
undelivered because either the target user does not exist or if you try to
send a message to a buddy on Foriegn IM with out registering with a
transport. In both these situations the messages are returned by the server
to the client with the same id and type = error ( The Jabber client
developer's cheat sheet by Alfke
http://homepage.mac.com/jens/Jabber/JabberClientCheatSheet.html says so).
But in my case I am not getting the type = error with the returned message.
I am using jabber server 1.4 and jabberbeans-0.9.2beta client. Is this a bug
in the jabber1.4 or jabberbeans-0.9.2beta ? Can any one suggest any pointers
on how to handle this situation. I am pasting the XML sent and received.
Thanks in advance.
Amar.
------------------- XML -----------------------------------
PLDebug: Sent Packet : <message to="zcvzvzv at tucson" from="ravi at tucson"
id="3" type="chat">
<body>This is a test for retuned messages</body></message>
PLDebug: Received Packet : <message to="ravi at tucson" from="zcvzvzv at tucson"
id="3"><body>Th
is is a test for retuned messages</body></message>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the JDev
mailing list