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
- All Implemented Interfaces:
- Broker, Region, Service
public class DestinationDotFileInterceptor
- extends DotFileInterceptorSupport
- Version:
- $Revision: $
Field Summary |
protected static java.lang.String |
ID_SEPARATOR
|
Methods inherited from class org.apache.activemq.broker.BrokerFilter |
acknowledge, addBroker, addConnection, addConsumer, addDestinationInfo, addProducer, addSession, beginTransaction, commitTransaction, forgetTransaction, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getClients, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getPeerBrokerInfos, getPendingDurableSubscriberPolicy, getPreparedTransactions, getTempDataStore, isFaultTolerantConfiguration, isSlaveBroker, isStopped, messagePull, prepareTransaction, processDispatch, processDispatchNotification, removeBroker, removeConnection, removeConsumer, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, setAdminConnectionContext, setPendingDurableSubscriberPolicy, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID_SEPARATOR
protected static final java.lang.String ID_SEPARATOR
- See Also:
- Constant Field Values
DestinationDotFileInterceptor
public DestinationDotFileInterceptor(Broker next,
java.lang.String file)
addDestination
public Destination addDestination(ConnectionContext context,
ActiveMQDestination destination)
throws java.lang.Exception
- Description copied from interface:
Region
- Used 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:
addDestination
in interface Region
- Overrides:
addDestination
in class BrokerFilter
destination
- the destination to create.
- Returns:
- TODO
- Throws:
java.lang.Exception
- TODO
removeDestination
public void removeDestination(ConnectionContext context,
ActiveMQDestination destination,
long timeout)
throws java.lang.Exception
- Description copied from interface:
Region
- Used 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:
removeDestination
in interface Region
- Overrides:
removeDestination
in class BrokerFilter
- 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:
java.lang.Exception
- TODO
generateFile
protected void generateFile(java.io.PrintWriter writer)
throws java.lang.Exception
- Specified by:
generateFile
in class DotFileInterceptorSupport
- Throws:
java.lang.Exception
printNodes
protected void printNodes(java.io.PrintWriter writer,
DestinationMapNode node,
java.lang.String prefix)
printNodeLinks
protected void printNodeLinks(java.io.PrintWriter writer,
DestinationMapNode node,
java.lang.String prefix)
getPath
protected java.lang.String getPath(DestinationMapNode node)
Copyright © 2009 Apache Software Foundation. All Rights Reserved.