Interface ReceiveAndReplyCallback<R,S>

Type Parameters:
R - The type of the request after conversion from the Message.
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 of AmqpTemplate 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

    Modifier and Type
    Method
    Description
    handle(R payload)
     
  • Method Details

    • handle

      S handle(R payload)