Package org.apache.activemq.broker.util
Class MulticastTraceBrokerPlugin
- java.lang.Object
-
- org.apache.activemq.broker.BrokerFilter
-
- org.apache.activemq.broker.MutableBrokerFilter
-
- org.apache.activemq.broker.BrokerPluginSupport
-
- org.apache.activemq.broker.util.UDPTraceBrokerPlugin
-
- 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
Constructors Constructor Description MulticastTraceBrokerPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
getAdaptor, getNext, setNext
-
Methods inherited from class org.apache.activemq.broker.BrokerFilter
addBroker, addDestination, brokerServiceStarted, fastProducer, 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, messageExpired, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, preProcessDispatch, processConsumerControl, reapplyInterceptor, removeBroker, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, virtualDestinationAdded, virtualDestinationRemoved
-
-
-
-
Method Detail
-
createSocket
protected DatagramSocket createSocket() throws IOException
- Overrides:
createSocket
in classUDPTraceBrokerPlugin
- Throws:
IOException
-
getTimeToLive
public int getTimeToLive()
-
setTimeToLive
public void setTimeToLive(int timeToLive)
-
-