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.
@FunctionalInterface public interface ReplyingMessageListener<T,R>
A Message Listener that returns a reply - intended for lambda use in aMessageListenerAdapter
.- Since:
- 2.0
- Author:
- Gary Russell
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
handleMessage(T t)
Handle the message and return a reply.
-