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() |
installPlugingetAdaptor, getNext, setNextacknowledge, addBroker, addConnection, addConsumer, addDestinationInfo, addProducer, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, 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, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processConsumerControl, processDispatchNotification, reapplyInterceptor, removeBroker, removeConnection, removeConsumer, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, virtualDestinationAdded, virtualDestinationRemovedpublic DestinationsPlugin()
public Destination addDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemporary) throws Exception
RegionaddDestination in interface RegionaddDestination in class BrokerFilterdestination - 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 BrokerFiltercontext - 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 BrokerPluginSupportExceptionprotected void importDestinations() throws Exception
Exceptionprotected void exportDestinations() throws Exception
Exceptionpublic File getLocation()
public void setLocation(File location)
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.