Hi,
Could you please tell me how are you are able to get the offline message .Using jml-1.0bfull.jar i am not able to get the offline messge . Kindly help me.
Thanks and Regards,
Sushma
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In order to get the offline message, you need to download the latest source code.
However, the latest source code is NOT official release; you need to TAKE YOUR OWN RISK.
Use the following statement to set the messenger Supported Protocol greater than 13:
Hi,
Thanks for your reply . I solved the problem of recieving offline message.
For the date and time of offline message i think passing the date and time in OfflineMessageRecieved() in MessageListener that can be done by modifying OIM
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to get the receive date of the offline message?
thank you
Hi,
Could you please tell me how are you are able to get the offline message .Using jml-1.0bfull.jar i am not able to get the offline messge . Kindly help me.
Thanks and Regards,
Sushma
In order to get the offline message, you need to download the latest source code.
However, the latest source code is NOT official release; you need to TAKE YOUR OWN RISK.
Use the following statement to set the messenger Supported Protocol greater than 13:
messenger.setSupportedProtocol(new MsnProtocol[] { MsnProtocol.MSNP14 });
Call the following method to get the offline message.
messenger.retreiveOfflineMessages();
Then it will call the MsnAdapter.offlineMessageReceived function.
You will receive 4 parameter
1)Message body
2)The content type of the message
3)The encoding of the message
4)Who sent this message.
Please refere the following source code file for detail.
net\sf\jml\protocol\soap\OIM.java(line 204)
net\sf\jml\impl\BasicMessenger.java(line 242)
Hi,
Thanks for your reply . I solved the problem of recieving offline message.
For the date and time of offline message i think passing the date and time in OfflineMessageRecieved() in MessageListener that can be done by modifying OIM