Class AmqpAppender.AmqpManager

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Enclosing class:
    AmqpAppender

    protected static class AmqpAppender.AmqpManager
    extends org.apache.logging.log4j.core.appender.AbstractManager
    Manager class for the appender.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.logging.log4j.core.appender.AbstractManager

        org.apache.logging.log4j.core.appender.AbstractManager.AbstractFactoryData
    • Field Summary

      • Fields inherited from class org.apache.logging.log4j.core.appender.AbstractManager

        count, LOGGER
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AmqpManager​(org.apache.logging.log4j.core.LoggerContext loggerContext, java.lang.String name)  
    • Constructor Detail

      • AmqpManager

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

      • createRabbitConnectionFactory

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

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

        protected void setUpExchangeDeclaration()