Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » broker » util » [javadoc | source]
org.apache.activemq.broker.util
public class: LoggingBrokerPlugin [javadoc | source]
java.lang.Object
   org.apache.activemq.broker.MutableBrokerFilter
      org.apache.activemq.broker.BrokerPluginSupport
         org.apache.activemq.broker.util.LoggingBrokerPlugin

All Implemented Interfaces:
    BrokerPlugin, Broker

A simple Broker intercepter which allows you to enable/disable logging.
Fields inherited from org.apache.activemq.broker.MutableBrokerFilter:
next
Method from org.apache.activemq.broker.util.LoggingBrokerPlugin Summary:
acknowledge,   addBroker,   addConnection,   addConsumer,   addDestination,   addDestinationInfo,   addProducer,   addSession,   afterPropertiesSet,   beginTransaction,   commitTransaction,   fastProducer,   forgetTransaction,   getClients,   getDestinations,   getDurableDestinations,   getPeerBrokerInfos,   getPreparedTransactions,   isFull,   isLogAll,   isLogConnectionEvents,   isLogConsumerEvents,   isLogInternalEvents,   isLogMessageEvents,   isLogProducerEvents,   isLogTransactionEvents,   messageConsumed,   messageDelivered,   messageDiscarded,   messageExpired,   messagePull,   nowMasterBroker,   postProcessDispatch,   preProcessDispatch,   prepareTransaction,   processDispatchNotification,   removeBroker,   removeConnection,   removeConsumer,   removeDestination,   removeDestinationInfo,   removeProducer,   removeSession,   removeSubscription,   rollbackTransaction,   send,   sendToDeadLetterQueue,   setLogAll,   setLogConnectionEvents,   setLogConsumerEvents,   setLogInternalEvents,   setLogMessageEvents,   setLogProducerEvents,   setLogTransactionEvents,   slowConsumer,   start,   stop,   toString
Methods from org.apache.activemq.broker.BrokerPluginSupport:
installPlugin
Methods from org.apache.activemq.broker.MutableBrokerFilter:
acknowledge,   addBroker,   addConnection,   addConsumer,   addDestination,   addDestinationInfo,   addProducer,   addSession,   beginTransaction,   brokerServiceStarted,   commitTransaction,   fastProducer,   forgetTransaction,   gc,   getAdaptor,   getAdminConnectionContext,   getBrokerId,   getBrokerName,   getBrokerSequenceId,   getBrokerService,   getClients,   getDestinationMap,   getDestinations,   getDestinations,   getDurableDestinations,   getNext,   getPeerBrokerInfos,   getPreparedTransactions,   getRoot,   getTempDataStore,   getVmConnectorURI,   isExpired,   isFaultTolerantConfiguration,   isFull,   isStopped,   messageConsumed,   messageDelivered,   messageDiscarded,   messageExpired,   messagePull,   nowMasterBroker,   postProcessDispatch,   preProcessDispatch,   prepareTransaction,   processDispatchNotification,   removeBroker,   removeConnection,   removeConsumer,   removeDestination,   removeDestinationInfo,   removeProducer,   removeSession,   removeSubscription,   rollbackTransaction,   send,   sendToDeadLetterQueue,   setAdminConnectionContext,   setNext,   slowConsumer,   start,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.broker.util.LoggingBrokerPlugin Detail:
 public  void acknowledge(ConsumerBrokerExchange consumerExchange,
    MessageAck ack) throws Exception 
 public  void addBroker(Connection connection,
    BrokerInfo info) 
 public  void addConnection(ConnectionContext context,
    ConnectionInfo info) throws Exception 
 public Subscription addConsumer(ConnectionContext context,
    ConsumerInfo info) throws Exception 
 public Destination addDestination(ConnectionContext context,
    ActiveMQDestination destination) throws Exception 
 public  void addDestinationInfo(ConnectionContext context,
    DestinationInfo info) throws Exception 
 public  void addProducer(ConnectionContext context,
    ProducerInfo info) throws Exception 
 public  void addSession(ConnectionContext context,
    SessionInfo info) throws Exception 
 public  void afterPropertiesSet() throws Exception 
 public  void beginTransaction(ConnectionContext context,
    TransactionId xid) throws Exception 
 public  void commitTransaction(ConnectionContext context,
    TransactionId xid,
    boolean onePhase) throws Exception 
 public  void fastProducer(ConnectionContext context,
    ProducerInfo producerInfo) 
 public  void forgetTransaction(ConnectionContext context,
    TransactionId transactionId) throws Exception 
 public Connection[] getClients() throws Exception 
 public ActiveMQDestination[] getDestinations() throws Exception 
 public Set<ActiveMQDestination> getDurableDestinations() 
 public BrokerInfo[] getPeerBrokerInfos() 
 public TransactionId[] getPreparedTransactions(ConnectionContext context) throws Exception 
 public  void isFull(ConnectionContext context,
    Destination destination,
    Usage usage) 
 public boolean isLogAll() 
 public boolean isLogConnectionEvents() 
 public boolean isLogConsumerEvents() 
 public boolean isLogInternalEvents() 
 public boolean isLogMessageEvents() 
 public boolean isLogProducerEvents() 
 public boolean isLogTransactionEvents() 
 public  void messageConsumed(ConnectionContext context,
    MessageReference messageReference) 
 public  void messageDelivered(ConnectionContext context,
    MessageReference messageReference) 
 public  void messageDiscarded(ConnectionContext context,
    MessageReference messageReference) 
 public  void messageExpired(ConnectionContext context,
    MessageReference message) 
 public Response messagePull(ConnectionContext context,
    MessagePull pull) throws Exception 
 public  void nowMasterBroker() 
 public  void postProcessDispatch(MessageDispatch messageDispatch) 
 public  void preProcessDispatch(MessageDispatch messageDispatch) 
 public int prepareTransaction(ConnectionContext context,
    TransactionId xid) throws Exception 
 public  void processDispatchNotification(MessageDispatchNotification messageDispatchNotification) throws Exception 
 public  void removeBroker(Connection connection,
    BrokerInfo info) 
 public  void removeConnection(ConnectionContext context,
    ConnectionInfo info,
    Throwable error) throws Exception 
 public  void removeConsumer(ConnectionContext context,
    ConsumerInfo info) throws Exception 
 public  void removeDestination(ConnectionContext context,
    ActiveMQDestination destination,
    long timeout) throws Exception 
 public  void removeDestinationInfo(ConnectionContext context,
    DestinationInfo info) throws Exception 
 public  void removeProducer(ConnectionContext context,
    ProducerInfo info) throws Exception 
 public  void removeSession(ConnectionContext context,
    SessionInfo info) throws Exception 
 public  void removeSubscription(ConnectionContext context,
    RemoveSubscriptionInfo info) throws Exception 
 public  void rollbackTransaction(ConnectionContext context,
    TransactionId xid) throws Exception 
 public  void send(ProducerBrokerExchange producerExchange,
    Message messageSend) throws Exception 
 public  void sendToDeadLetterQueue(ConnectionContext context,
    MessageReference messageReference) 
 public  void setLogAll(boolean logAll) 
    Log all Events that go through the Plugin
 public  void setLogConnectionEvents(boolean logConnectionEvents) 
    Log Events that are related to connections and sessions
 public  void setLogConsumerEvents(boolean logConsumerEvents) 
    Log Events that are related to Consumers
 public  void setLogInternalEvents(boolean logInternalEvents) 
    Log Events that are normally internal to the broker
 public  void setLogMessageEvents(boolean logMessageEvents) 
    Log Events that are related to message processing
 public  void setLogProducerEvents(boolean logProducerEvents) 
    Log Events that are related to Producers
 public  void setLogTransactionEvents(boolean logTransactionEvents) 
    Log Events that are related to transaction processing
 public  void slowConsumer(ConnectionContext context,
    Destination destination,
    Subscription subs) 
 public  void start() throws Exception 
 public  void stop() throws Exception 
 public String toString()