Package org.springframework.amqp.core
Interface ReceiveAndReplyCallback<R,S>
-
- Type Parameters:
R
- The type of the request after conversion from theMessage
.S
- The type of the response.
- All Known Subinterfaces:
ReceiveAndReplyMessageCallback
- 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,S>
To be used with the receive-and-reply methods ofAmqpTemplate
as processor for inbound object and producer for outbound object.This often as an anonymous class within a method implementation.
- Since:
- 1.3
- Author:
- Artem Bilan, Gary Russell
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S
handle(R payload)
-