public class LocalBrokerFacade extends BrokerFacadeSupport
BrokerFacade
which uses a local in JVM brokerConstructor and Description |
---|
LocalBrokerFacade(org.apache.activemq.broker.BrokerService brokerService) |
Modifier and Type | Method and Description |
---|---|
org.apache.activemq.broker.Broker |
getBroker() |
org.apache.activemq.broker.jmx.BrokerViewMBean |
getBrokerAdmin()
Admin view of the broker.
|
String |
getBrokerName()
The name of the active broker (f.e.
|
org.apache.activemq.broker.BrokerService |
getBrokerService() |
org.apache.activemq.broker.jmx.ManagedRegionBroker |
getManagedBroker() |
org.apache.activemq.broker.jmx.ManagementContext |
getManagementContext() |
Object |
newProxyInstance(ObjectName objectName,
Class interfaceClass,
boolean notificationBroadcaster) |
void |
purgeQueue(org.apache.activemq.command.ActiveMQDestination destination)
Purges the given destination
|
Set |
queryNames(ObjectName name,
QueryExp query) |
getConnection, getConnections, getConnections, getConnector, getConnectors, getConsumersOnConnection, getDestinationByName, getDurableTopicSubscribers, getInactiveDurableTopicSubscribers, getJobScheduler, getManagedObjects, getNetworkBridges, getNetworkConnectors, getNonDurableTopicSubscribers, getQueue, getQueueConsumers, getQueueProducers, getQueues, getScheduledJobs, getTopic, getTopicProducers, getTopics, getTopicSubscribers, isJobSchedulerStarted
public LocalBrokerFacade(org.apache.activemq.broker.BrokerService brokerService)
public org.apache.activemq.broker.BrokerService getBrokerService()
public String getBrokerName() throws Exception
BrokerFacade
null
Exception
public org.apache.activemq.broker.jmx.ManagementContext getManagementContext()
getManagementContext
in class BrokerFacadeSupport
public org.apache.activemq.broker.jmx.BrokerViewMBean getBrokerAdmin() throws Exception
BrokerFacade
null
Exception
public org.apache.activemq.broker.jmx.ManagedRegionBroker getManagedBroker() throws Exception
Exception
public void purgeQueue(org.apache.activemq.command.ActiveMQDestination destination) throws Exception
BrokerFacade
Exception
public Set queryNames(ObjectName name, QueryExp query) throws Exception
queryNames
in class BrokerFacadeSupport
Exception
public Object newProxyInstance(ObjectName objectName, Class interfaceClass, boolean notificationBroadcaster)
newProxyInstance
in class BrokerFacadeSupport
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.