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() |
BrokerViewFacade |
getBrokerAdmin()
Admin view of the broker.
|
String |
getBrokerName()
The name of the active broker (f.e.
|
BrokerFacade[] |
getBrokers()
Returns all the available brokers.
|
org.apache.activemq.broker.BrokerService |
getBrokerService() |
String |
getId() |
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, getQueue, getQueueConsumers, getQueueProducers, getQueues, getScheduledJobs, getTopic, getTopicConsumers, getTopicDurableConsumers, getTopicProducers, getTopics, isJobSchedulerStarted, proxy
public LocalBrokerFacade(org.apache.activemq.broker.BrokerService brokerService)
public org.apache.activemq.broker.BrokerService getBrokerService()
public String getId() throws Exception
Exception
public BrokerFacade[] getBrokers() throws Exception
BrokerFacade
null
Exception
public String getBrokerName() throws Exception
BrokerFacade
null
Exception
public org.apache.activemq.broker.jmx.ManagementContext getManagementContext()
getManagementContext
in class BrokerFacadeSupport
public BrokerViewFacade 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 © 2011–2014 Red Hat. All rights reserved.