@FunctionalInterface public interface MessageHandler
Message.| Modifier and Type | Method and Description |
|---|---|
void |
handleMessage(Message<?> message)
Handle the given message.
|
void handleMessage(Message<?> message) throws MessagingException
message - the message to be handledMessagingException - if the handler failed to process the message