powered by Jive Software

Check if messages has been sent successfully

Hi,

Sometimes, messages are sent to recipient and they are never receive by him. Is it possible to throw an exception if sendMessage method failed or to have a new api method for checking the status of sended message. I’'d prefer an exception if the message failed.

Thanks

Emmanuel

Hello Emmanuel,

Smack already provides this functionality via the MessageEventManager and the MessageEventNotification and MessageEventRequest interfaces.

Check the Javadocs for more info and have a look at the extended documentation which should help you on your way in this.

Jon

Thanks, i’'ll look at them

Emmanuel