public interface ErrorHandler
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.| Modifier and Type | Method and Description | 
|---|---|
| void | handleCompletion(UniqueId id)Invoked when the message has been sent successfully. | 
| void | handleError(ChannelException x,
           UniqueId id)Invoked if the message is dispatched async, and an error occurs | 
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)Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.