protected static class AmqpAppender.AmqpManager
extends org.apache.logging.log4j.core.appender.AbstractManager
Modifier | Constructor and Description |
---|---|
protected |
AmqpManager(org.apache.logging.log4j.core.LoggerContext loggerContext,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureRabbitConnectionFactory(RabbitConnectionFactoryBean factoryBean)
Configure the
RabbitConnectionFactoryBean . |
protected com.rabbitmq.client.ConnectionFactory |
createRabbitConnectionFactory()
Create the
ConnectionFactory . |
protected boolean |
releaseSub(long timeout,
java.util.concurrent.TimeUnit timeUnit) |
protected void |
setUpExchangeDeclaration() |
protected AmqpManager(org.apache.logging.log4j.core.LoggerContext loggerContext, java.lang.String name)
protected com.rabbitmq.client.ConnectionFactory createRabbitConnectionFactory()
ConnectionFactory
.ConnectionFactory
.protected void configureRabbitConnectionFactory(RabbitConnectionFactoryBean factoryBean)
RabbitConnectionFactoryBean
. Sub-classes may override to
customize the configuration of the bean.factoryBean
- the RabbitConnectionFactoryBean
.protected boolean releaseSub(long timeout, java.util.concurrent.TimeUnit timeUnit)
releaseSub
in class org.apache.logging.log4j.core.appender.AbstractManager
protected void setUpExchangeDeclaration()