Class TraceBrokerPathPlugin

  • All Implemented Interfaces:
    Broker, BrokerPlugin, Region, org.apache.activemq.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.
    • Constructor Detail

      • TraceBrokerPathPlugin

        public TraceBrokerPathPlugin()
    • Method Detail

      • getStampProperty

        public String getStampProperty()
      • setStampProperty

        public void setStampProperty​(String stampProperty)
      • preProcessDispatch

        public void preProcessDispatch​(org.apache.activemq.command.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 BrokerFilter