Spring AMQP

org.springframework.amqp.rabbit.log4j
Class AmqpAppender.Event

java.lang.Object
  extended by org.springframework.amqp.rabbit.log4j.AmqpAppender.Event
Enclosing class:
AmqpAppender

protected class AmqpAppender.Event
extends Object

Small helper class to encapsulate a LoggingEvent, its MDC properties, and the number of retries.


Constructor Summary
AmqpAppender.Event(org.apache.log4j.spi.LoggingEvent event, Map properties)
           
 
Method Summary
 org.apache.log4j.spi.LoggingEvent getEvent()
           
 Map getProperties()
           
 int incrementRetries()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmqpAppender.Event

public AmqpAppender.Event(org.apache.log4j.spi.LoggingEvent event,
                          Map properties)
Method Detail

getEvent

public org.apache.log4j.spi.LoggingEvent getEvent()

getProperties

public Map getProperties()

incrementRetries

public int incrementRetries()

Spring AMQP

Copyright © 2011. All Rights Reserved.