Interface ReplyingMessageListener<T,R>
- Type Parameters:
T
- the request type.R
- the reply type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A Message Listener that returns a reply - intended for lambda use in a
MessageListenerAdapter
.- Since:
- 2.0
- Author:
- Gary Russell
-
Method Summary
-
Method Details
-
handleMessage
Handle the message and return a reply.- Parameters:
t
- the request.- Returns:
- the reply.
-