Interface ReplyToAddressCallback<T>

  • Type Parameters:
    T - 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 ReplyToAddressCallback<T>
    To be used with the receive-and-reply methods of AmqpTemplate to determine Address for Message to send at runtime.

    This often as an anonymous class within a method implementation.

    Since:
    1.3
    Author:
    Artem Bilan, Gary Russell
    • Method Detail

      • getReplyToAddress

        Address getReplyToAddress​(Message request,
                                  T reply)