public class DestinationsPlugin extends BrokerPluginSupport
next| Constructor and Description |
|---|
DestinationsPlugin() |
| Modifier and Type | Method and Description |
|---|---|
Destination |
addDestination(ConnectionContext context,
org.apache.activemq.command.ActiveMQDestination destination,
boolean createIfTemporary)
Used to create a destination.
|
protected void |
exportDestinations() |
File |
getLocation() |
protected void |
importDestinations() |
void |
removeDestination(ConnectionContext context,
org.apache.activemq.command.ActiveMQDestination destination,
long timeout)
Used to destroy a destination.
|
void |
setLocation(File location) |
void |
start() |
void |
stop() |
installPluginacknowledge, 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, messageExpired, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processConsumerControl, processDispatchNotification, reapplyInterceptor, removeBroker, removeConnection, removeConsumer, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, sendToDeadLetterQueue, setAdminConnectionContext, setNext, slowConsumer, virtualDestinationAdded, virtualDestinationRemovedpublic Destination addDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemporary) throws Exception
RegionaddDestination in interface RegionaddDestination in class MutableBrokerFilterdestination - the destination to create.Exception - TODOpublic void removeDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, long timeout) throws Exception
RegionremoveDestination in interface RegionremoveDestination in class MutableBrokerFiltercontext - 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 quiesceException - TODOpublic void start()
throws Exception
start in interface org.apache.activemq.Servicestart in class BrokerPluginSupportExceptionpublic void stop()
throws Exception
stop in interface org.apache.activemq.Servicestop in class BrokerPluginSupportExceptionpublic File getLocation()
public void setLocation(File location)
Copyright © 2017 Power TAC. All rights reserved.