<hr>
<br>
<pre>public interface <span class="typeNameLabel">CompletionListener</span></pre>
<div class="block">A <code>CompletionListener</code> is implemented by the application and may be specified when a message is sent
 asynchronously.

 <p>
 When the sending of the message is complete, the Jakarta Messaging provider notifies the application by calling the
 <code>onCompletion(Message)</code> method of the specified completion listener. If the sending if the message fails for
 any reason, and an exceptio