org.apache.activemq.broker.util
Class MulticastTraceBrokerPlugin

java.lang.Object
  extended by org.apache.activemq.broker.MutableBrokerFilter
      extended by org.apache.activemq.broker.BrokerPluginSupport
          extended by org.apache.activemq.broker.util.UDPTraceBrokerPlugin
              extended by org.apache.activemq.broker.util.MulticastTraceBrokerPlugin
All Implemented Interfaces:
Broker, BrokerPlugin, Region, Service

public class MulticastTraceBrokerPlugin
extends UDPTraceBrokerPlugin

A Broker interceptor which allows you to trace all operations to a Multicast socket.


Field Summary
 
Fields inherited from class org.apache.activemq.broker.util.UDPTraceBrokerPlugin
address, broadcast, brokerId, destination, maxTraceDatagramSize, socket, wireFormat, wireFormatFactory
 
Fields inherited from class org.apache.activemq.broker.MutableBrokerFilter
next
 
Constructor Summary
MulticastTraceBrokerPlugin()
           
 
Method Summary
protected  DatagramSocket createSocket()
           
 int getTimeToLive()
           
 void setTimeToLive(int timeToLive)
           
 
Methods inherited from class org.apache.activemq.broker.util.UDPTraceBrokerPlugin
acknowledge, addConnection, addConsumer, addDestinationInfo, addProducer, addSession, beginTransaction, commitTransaction, createSocketAddress, createWireFormat, createWireFormatFactory, forgetTransaction, getAddress, getDestination, getMaxTraceDatagramSize, getWireFormat, getWireFormatFactory, isBroadcast, messagePull, postProcessDispatch, prepareTransaction, processDispatchNotification, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, setAddress, setBroadcast, setDestination, setMaxTraceDatagramSize, setWireFormat, setWireFormatFactory, start, stop
 
Methods inherited from class org.apache.activemq.broker.BrokerPluginSupport
installPlugin
 
Methods inherited from class org.apache.activemq.broker.MutableBrokerFilter
addBroker, addDestination, brokerServiceStarted, fastProducer, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getNext, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageExpired, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, preProcessDispatch, processConsumerControl, removeBroker, sendToDeadLetterQueue, setAdminConnectionContext, setNext, slowConsumer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MulticastTraceBrokerPlugin

public MulticastTraceBrokerPlugin()
Method Detail

createSocket

protected DatagramSocket createSocket()
                               throws IOException
Overrides:
createSocket in class UDPTraceBrokerPlugin
Throws:
IOException

getTimeToLive

public int getTimeToLive()

setTimeToLive

public void setTimeToLive(int timeToLive)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.