public class DestinationsPlugin extends BrokerPluginSupport
next| Constructor and Description |
|---|
DestinationsPlugin() |
| Modifier and Type | Method and Description |
|---|---|
Destination |
addDestination(ConnectionContext context,
ActiveMQDestination destination,
boolean createIfTemporary)
Used to create a destination.
|
protected void |
exportDestinations() |
File |
getLocation() |
protected void |
importDestinations() |
void |
removeDestination(ConnectionContext context,
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, slowConsumerpublic DestinationsPlugin()
public Destination addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemporary) throws Exception
RegionaddDestination in interface RegionaddDestination in class MutableBrokerFilterdestination - the destination to create.Exception - TODOpublic void removeDestination(ConnectionContext context, 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 Servicestart in class BrokerPluginSupportExceptionpublic void stop() throws Exception
stop in interface Servicestop in class BrokerPluginSupportExceptionprotected void importDestinations() throws Exception
Exceptionprotected void exportDestinations() throws Exception
Exceptionpublic File getLocation()
public void setLocation(File location)
Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.