|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.broker.MutableBrokerFilter
org.apache.activemq.broker.BrokerPluginSupport
org.apache.activemq.broker.util.TraceBrokerPathPlugin
public class TraceBrokerPathPlugin
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 | |
|---|---|
TraceBrokerPathPlugin()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getStampProperty()
|
void |
preProcessDispatch(MessageDispatch messageDispatch)
Notify the Broker that a dispatch is going to happen |
void |
setStampProperty(java.lang.String stampProperty)
|
| Methods inherited from class org.apache.activemq.broker.BrokerPluginSupport |
|---|
installPlugin, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TraceBrokerPathPlugin()
| Method Detail |
|---|
public java.lang.String getStampProperty()
public void setStampProperty(java.lang.String stampProperty)
public void preProcessDispatch(MessageDispatch messageDispatch)
Broker
preProcessDispatch in interface BrokerpreProcessDispatch in class MutableBrokerFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||