org.apache.activemq.broker.util
Class TraceBrokerPathPlugin
java.lang.Object
org.apache.activemq.broker.MutableBrokerFilter
org.apache.activemq.broker.BrokerPluginSupport
org.apache.activemq.broker.util.TraceBrokerPathPlugin
- All Implemented Interfaces:
- Broker, BrokerPlugin, Region, Service
public class TraceBrokerPathPlugin
- extends BrokerPluginSupport
The TraceBrokerPathPlugin can be used in a network of Brokers. Each Broker
that has the plugin configured, will add it's brokerName to the content
of a JMS Property. If all Brokers have this property enabled, the path the
message actually took through the network can be seen in the defined property.
- Version:
- $Revision$
Methods inherited from class 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, prepareTransaction, processDispatchNotification, removeBroker, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, sendToDeadLetterQueue, setAdminConnectionContext, setNext, slowConsumer, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraceBrokerPathPlugin
public TraceBrokerPathPlugin()
getStampProperty
public String getStampProperty()
setStampProperty
public void setStampProperty(String stampProperty)
preProcessDispatch
public void preProcessDispatch(MessageDispatch messageDispatch)
- Description copied from interface:
Broker
- Notify the Broker that a dispatch is going to happen
- Specified by:
preProcessDispatch
in interface Broker
- Overrides:
preProcessDispatch
in class MutableBrokerFilter
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.