Class AbstractConnectionFactory.DefaultChannelCloseLogger

java.lang.Object
org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.DefaultChannelCloseLogger
All Implemented Interfaces:
ConditionalExceptionLogger
Enclosing class:
AbstractConnectionFactory

public static class AbstractConnectionFactory.DefaultChannelCloseLogger extends Object implements ConditionalExceptionLogger
Default implementation of ConditionalExceptionLogger for logging channel close exceptions.
Since:
1.5
Author:
Dave Syer, Gary Russell, Steve Powell, Artem Bilan, Will Droste, Christian Tzolov, Salk Lee
  • Constructor Details

    • DefaultChannelCloseLogger

      public DefaultChannelCloseLogger()
  • Method Details

    • log

      public void log(org.apache.commons.logging.Log logger, String message, @Nullable Throwable t)
      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.
      t - a throwable; may be null.