Package org.apache.activemq.broker.view
Class DestinationDotFileInterceptor
java.lang.Object
org.apache.activemq.broker.BrokerFilter
org.apache.activemq.broker.view.DotFileInterceptorSupport
org.apache.activemq.broker.view.DestinationDotFileInterceptor
-
Field Summary
FieldsFields inherited from class org.apache.activemq.broker.BrokerFilter
next -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean create) Used to create a destination.protected voidgenerateFile(PrintWriter writer) protected StringgetPath(org.apache.activemq.filter.DestinationMapNode node) protected voidprintNodeLinks(PrintWriter writer, org.apache.activemq.filter.DestinationMapNode node, String prefix) protected voidprintNodes(PrintWriter writer, org.apache.activemq.filter.DestinationMapNode node, String prefix) voidremoveDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, long timeout) Used to destroy a destination.Methods inherited from class org.apache.activemq.broker.view.DotFileInterceptorSupport
generateFileMethods inherited from class org.apache.activemq.broker.BrokerFilter
acknowledge, addBroker, addConnection, addConsumer, addDestinationInfo, addProducer, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getNext, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageDispatched, messageExpired, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processConsumerControl, processDispatchNotification, reapplyInterceptor, removeBroker, removeConnection, removeConsumer, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, start, stop, virtualDestinationAdded, virtualDestinationRemoved
-
Field Details
-
ID_SEPARATOR
- See Also:
-
-
Constructor Details
-
DestinationDotFileInterceptor
-
-
Method Details
-
addDestination
public Destination addDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean create) throws Exception Description copied from interface:RegionUsed to create a destination. Usually, this method is invoked as a side-effect of sending a message to a destination that does not exist yet.- Specified by:
addDestinationin interfaceRegion- Overrides:
addDestinationin classBrokerFilterdestination- the destination to create.- Returns:
- TODO
- Throws:
Exception- TODO
-
removeDestination
public void removeDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, long timeout) throws Exception Description copied from interface:RegionUsed to destroy a destination. This should try to quiesce use of the destination up to the timeout allotted time before removing the destination. This will remove all persistent messages associated with the destination.- Specified by:
removeDestinationin interfaceRegion- Overrides:
removeDestinationin classBrokerFilter- Parameters:
context- the environment the operation is being executed under.destination- what is being removed from the broker.timeout- the max amount of time to wait for the destination to quiesce- Throws:
Exception- TODO
-
generateFile
- Specified by:
generateFilein classDotFileInterceptorSupport- Throws:
Exception
-
printNodes
protected void printNodes(PrintWriter writer, org.apache.activemq.filter.DestinationMapNode node, String prefix) -
printNodeLinks
protected void printNodeLinks(PrintWriter writer, org.apache.activemq.filter.DestinationMapNode node, String prefix) -
getPath
-