|
Apache Tomcat 7.0.39 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorHandler
The ErrorHandler
class is used when sending messages
that are sent asynchronously and the application still needs to get
confirmation when the message was sent successfully or when a message errored out.
Method Summary | |
---|---|
void |
handleCompletion(UniqueId id)
Invoked when the message has been sent successfully. |
void |
handleError(ChannelException x,
UniqueId id)
Invoked if the message is dispatched asynch, and an error occurs |
Method Detail |
---|
void handleError(ChannelException x, UniqueId id)
x
- ChannelException - the error that happenedid
- - the unique id for the messageChannel.send(Member[], java.io.Serializable, int, ErrorHandler)
void handleCompletion(UniqueId id)
id
- - the unique id for the messageChannel.send(Member[], java.io.Serializable, int, ErrorHandler)
|
Apache Tomcat 7.0.39 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |