KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ubermq > jms > client > IAcknowledgeHandler


1 package com.ubermq.jms.client;
2
3 import com.ubermq.jms.common.datagram.*;
4 import java.io.*;
5
6 /**
7  * A recipient for message acknowledgements.
8  */

9 public interface IAcknowledgeHandler
10 {
11     /**
12      * Acknowledges a message has been received and sufficiently processed
13      * by a subscriber.<p>
14      *
15      * @param md the message that was received and processed.
16      * @throws IOException if the acknowledgement could not be sent
17      * due to an I/O error.
18      */

19     public void acknowledge(IMessageDatagram md)
20         throws IOException, javax.jms.IllegalStateException JavaDoc;
21 }
22
Popular Tags