Uses of Class
org.springframework.amqp.rabbit.log4j2.AmqpAppender.Event
Package
Description
Provides classes supporting Log4j 2 appenders.
-
Uses of AmqpAppender.Event in org.springframework.amqp.rabbit.log4j2
Modifier and TypeMethodDescriptionprotected void
AmqpAppender.doSend
(AmqpAppender.Event event, org.apache.logging.log4j.core.LogEvent logEvent, MessageProperties amqpProps) protected Message
AmqpAppender.postProcessMessageBeforeSend
(Message message, AmqpAppender.Event event) Subclasses may modify the final message before sending.protected void
AmqpAppender.sendEvent
(AmqpAppender.Event event, Map<?, ?> properties) Modifier and TypeMethodDescriptionprotected AmqpAppender
AmqpAppender.Builder.buildInstance
(String name, org.apache.logging.log4j.core.Filter filter, org.apache.logging.log4j.core.Layout<? extends Serializable> layout, boolean ignoreExceptions, AmqpAppender.AmqpManager manager, BlockingQueue<AmqpAppender.Event> eventQueue) Subclasses can extends Builder, use same logic but need to modify class instance.AmqpAppender.Builder.setBlockingQueueFactory
(org.apache.logging.log4j.core.async.BlockingQueueFactory<AmqpAppender.Event> blockingQueueFactory) ModifierConstructorDescriptionAmqpAppender
(String name, org.apache.logging.log4j.core.Filter filter, org.apache.logging.log4j.core.Layout<? extends Serializable> layout, boolean ignoreExceptions, org.apache.logging.log4j.core.config.Property[] properties, AmqpAppender.AmqpManager manager, BlockingQueue<AmqpAppender.Event> eventQueue) Construct an instance with the provided properties.