Package org.apache.activemq.broker.util
Class TraceBrokerPathPlugin
java.lang.Object
org.apache.activemq.broker.BrokerFilter
org.apache.activemq.broker.MutableBrokerFilter
org.apache.activemq.broker.BrokerPluginSupport
org.apache.activemq.broker.util.TraceBrokerPathPlugin
- All Implemented Interfaces:
Broker,BrokerPlugin,Region,org.apache.activemq.Service
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.
-
Field Summary
Fields inherited from class org.apache.activemq.broker.MutableBrokerFilter
next -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpreProcessDispatch(org.apache.activemq.command.MessageDispatch messageDispatch) Notify the Broker that a dispatch is going to happenvoidsetStampProperty(String stampProperty) Methods inherited from class org.apache.activemq.broker.BrokerPluginSupport
installPlugin, start, stopMethods inherited from class org.apache.activemq.broker.MutableBrokerFilter
getAdaptor, getNext, setNextMethods inherited from class org.apache.activemq.broker.BrokerFilter
acknowledge, addBroker, addConnection, addConsumer, addDestination, addDestinationInfo, addProducer, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, gc, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageDispatched, messageExpired, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, processConsumerControl, processDispatchNotification, reapplyInterceptor, removeBroker, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, virtualDestinationAdded, virtualDestinationRemoved
-
Constructor Details
-
TraceBrokerPathPlugin
public TraceBrokerPathPlugin()
-
-
Method Details
-
getStampProperty
-
setStampProperty
-
preProcessDispatch
public void preProcessDispatch(org.apache.activemq.command.MessageDispatch messageDispatch) Description copied from interface:BrokerNotify the Broker that a dispatch is going to happen- Specified by:
preProcessDispatchin interfaceBroker- Overrides:
preProcessDispatchin classBrokerFilter- Parameters:
messageDispatch- MessageDispatch object being dispatched
-