Interface HandlerMethodEndpoint

All Superinterfaces:
Endpoint
All Known Implementing Classes:
AbstractEndpoint, SqsEndpoint

public interface HandlerMethodEndpoint extends Endpoint
Endpoint specialization that indicates that Message instances coming from this endpoint will be handled by a HandlerMethod.
Since:
3.0
Author:
Tomaz Fernandes
  • Method Details

    • setBean

      void setBean(Object bean)
      Set the bean containing the method to be invoked with the incoming messages.
      Parameters:
      bean - the bean.
    • setMethod

      void setMethod(Method method)
      Set the method to be used when handling messages for this endpoint.
      Parameters:
      method - the method.
    • setHandlerMethodFactory

      void setHandlerMethodFactory(MessageHandlerMethodFactory handlerMethodFactory)
      Set the MessageHandlerMethodFactory to be used for creating the HandlerMethod.
      Parameters:
      handlerMethodFactory - the factory.
    • configureListenerMode

      void configureListenerMode(Consumer<ListenerMode> consumer)
      Allows configuring the ListenerMode for this endpoint.
      Parameters:
      consumer - a consumer for the strategy used by this endpoint.