Class AmqpAppender.AmqpManager

  • All Implemented Interfaces:
    AutoCloseable
    Enclosing class:
    AmqpAppender

    protected static class AmqpAppender.AmqpManager
    extends org.apache.logging.log4j.core.appender.AbstractManager
    Manager class for the appender.
    • Constructor Detail

      • AmqpManager

        protected AmqpManager​(org.apache.logging.log4j.core.LoggerContext loggerContext,
                              String name)
    • Method Detail

      • createRabbitConnectionFactory

        protected com.rabbitmq.client.ConnectionFactory createRabbitConnectionFactory()
        Create the ConnectionFactory.
        Returns:
        a ConnectionFactory.
      • releaseSub

        protected boolean releaseSub​(long timeout,
                                     TimeUnit timeUnit)
        Overrides:
        releaseSub in class org.apache.logging.log4j.core.appender.AbstractManager
      • setUpExchangeDeclaration

        protected void setUpExchangeDeclaration()