- Type Parameters:
R- The type of the request after conversion from the
S- The type of the response.
- All Known Subinterfaces:
- 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 ReceiveAndReplyCallback<R,
To be used with the receive-and-reply methods of
AmqpTemplateas processor for inbound object and producer for outbound object.
This often as an anonymous class within a method implementation.
- Artem Bilan, Gary Russell