Class AbstractMessageListenerContainer.DefaultExclusiveConsumerLogger

java.lang.Object
org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.DefaultExclusiveConsumerLogger
All Implemented Interfaces:
ConditionalExceptionLogger
Enclosing class:
AbstractMessageListenerContainer

public static class AbstractMessageListenerContainer.DefaultExclusiveConsumerLogger extends Object implements ConditionalExceptionLogger
Default implementation of ConditionalExceptionLogger for logging exclusive consumer failures.
Since:
1.5
Author:
Mark Pollack, Mark Fisher, Dave Syer, James Carr, Gary Russell, Alex Panchenko, Johno Crawford, Arnaud Cogoluègnes, Artem Bilan, Mohammad Hewedy, Mat Jaggard
  • Constructor Details

    • DefaultExclusiveConsumerLogger

      public DefaultExclusiveConsumerLogger()
  • Method Details

    • log

      public void log(org.apache.commons.logging.Log logger, String message, @Nullable Throwable cause)
      Description copied from interface: ConditionalExceptionLogger
      Log the event.
      Specified by:
      log in interface ConditionalExceptionLogger
      Parameters:
      logger - the logger to use.
      message - a message that the caller suggests should be included in the log.
      cause - a throwable; may be null.