T
- the message type@FunctionalInterface
public interface MessageHandler<T>
Message
s.ConcurrentMessageHandler
,
MessageHandlerAdapter
Modifier and Type | Method and Description |
---|---|
void |
handle(T message)
Perform some action when receiving a message.
|
void handle(T message)
message
- the message