Class AbstractMethodInvokingListenerAdapter<T>

java.lang.Object
io.awspring.cloud.sqs.listener.adapter.AbstractMethodInvokingListenerAdapter<T>
Direct Known Subclasses:
AsyncMessagingMessageListenerAdapter, MessagingMessageListenerAdapter

public abstract class AbstractMethodInvokingListenerAdapter<T> extends Object
Base class for invoking an InvocableHandlerMethod. Also handles wrapping the failed messages into a ListenerExecutionFailedException.
Since:
3.0
Author:
Tomaz Fernandes, José Iêdo
  • Constructor Details

    • AbstractMethodInvokingListenerAdapter

      protected AbstractMethodInvokingListenerAdapter(InvocableHandlerMethod handlerMethod)
      Create an instance with the provided InvocableHandlerMethod.
      Parameters:
      handlerMethod - the handler method.
    • AbstractMethodInvokingListenerAdapter

      protected AbstractMethodInvokingListenerAdapter(CompositeInvocableHandler compositeInvocableHandler)
      Create an instance with the provided CompositeInvocableHandler.
      Parameters:
      compositeInvocableHandler - the composite of invocable handlers.
  • Method Details