Interface MessageCompletionHandler
-
public interface MessageCompletionHandler
Completion handler for asynchronous message operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(MessagingException error)
Reports that the operation has failed.void
onSuccess(Message message)
Reports that the operation was successfully completed.
-
-
-
Method Detail
-
onSuccess
void onSuccess(Message message)
Reports that the operation was successfully completed.- Parameters:
message
- Message for which the operation was successfully completed.
-
onError
void onError(MessagingException error)
Reports that the operation has failed.- Parameters:
error
- Information about failure details.
-
-