Interface MessageListener<S,T>
- Type Parameters:
S
- source message type.T
- target message type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener interface to receive delivery of
Messages
.- Since:
- 2.1
- Author:
- Christoph Strobl
-
Method Summary
-
Method Details
-
onMessage
Callback invoked on receivingMessage
.- Parameters:
message
- never null.
-