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 a MessageListenerAdapter.
Since:
2.0
Author:
Gary Russell
  • Method Summary

    Modifier and Type
    Method
    Description
    Handle the message and return a reply.
  • Method Details

    • handleMessage

      R handleMessage(T t)
      Handle the message and return a reply.
      Parameters:
      t - the request.
      Returns:
      the reply.