public interface BrokerFacade
Modifier and Type | Method and Description |
---|---|
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.jmx.ConnectionViewMBean |
getConnection(String connectionName)
A specific connection to the broker.
|
Collection<org.apache.activemq.broker.jmx.ConnectionViewMBean> |
getConnections()
All connections to all transport connectors of the broker.
|
Collection<String> |
getConnections(String connectorName)
The names of all connections to a specific transport connectors of the
broker.
|
org.apache.activemq.broker.jmx.ConnectorViewMBean |
getConnector(String name)
A transport connectors.
|
Collection<String> |
getConnectors()
The names of all transport connectors of the broker (f.e.
|
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> |
getConsumersOnConnection(String connectionName)
Returns all consumers of a connection.
|
Collection<org.apache.activemq.broker.jmx.DurableSubscriptionViewMBean> |
getDurableTopicSubscribers()
Active durable subscribers to topics of the broker.
|
Collection<org.apache.activemq.broker.jmx.DurableSubscriptionViewMBean> |
getInactiveDurableTopicSubscribers()
Inactive durable subscribers to topics of the broker.
|
org.apache.activemq.broker.jmx.JobSchedulerViewMBean |
getJobScheduler()
Get the JobScheduler MBean
|
Collection<org.apache.activemq.broker.jmx.NetworkBridgeViewMBean> |
getNetworkBridges()
The brokers network bridges.
|
Collection<org.apache.activemq.broker.jmx.NetworkConnectorViewMBean> |
getNetworkConnectors()
The brokers network connectors.
|
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> |
getNonDurableTopicSubscribers()
All active non-durable subscribers to a topic.
|
org.apache.activemq.broker.jmx.QueueViewMBean |
getQueue(String name)
Get the view of the queue with the specified name.
|
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> |
getQueueConsumers(String queueName)
All active consumers of a queue.
|
Collection<org.apache.activemq.broker.jmx.ProducerViewMBean> |
getQueueProducers(String queueName)
All active producers to a queue.
|
Collection<org.apache.activemq.broker.jmx.QueueViewMBean> |
getQueues()
All queues known to the broker.
|
Collection<JobFacade> |
getScheduledJobs()
Get the JobScheduler MBean
|
org.apache.activemq.broker.jmx.TopicViewMBean |
getTopic(String name)
Get the view of the topic with the specified name.
|
Collection<org.apache.activemq.broker.jmx.ProducerViewMBean> |
getTopicProducers(String queueName)
All active producers to a topic.
|
Collection<org.apache.activemq.broker.jmx.TopicViewMBean> |
getTopics()
All topics known to the broker.
|
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> |
getTopicSubscribers(String topicName)
All active non-durable subscribers to a topic.
|
boolean |
isJobSchedulerStarted() |
void |
purgeQueue(org.apache.activemq.command.ActiveMQDestination destination)
Purges the given destination
|
String getBrokerName() throws Exception
null
Exception
org.apache.activemq.broker.jmx.BrokerViewMBean getBrokerAdmin() throws Exception
null
Exception
Collection<org.apache.activemq.broker.jmx.QueueViewMBean> getQueues() throws Exception
null
Exception
Collection<org.apache.activemq.broker.jmx.TopicViewMBean> getTopics() throws Exception
null
Exception
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getQueueConsumers(String queueName) throws Exception
queueName
- the name of the queue, not null
null
Exception
Collection<org.apache.activemq.broker.jmx.ProducerViewMBean> getQueueProducers(String queueName) throws Exception
queueName
- the name of the queue, not null
null
Exception
Collection<org.apache.activemq.broker.jmx.ProducerViewMBean> getTopicProducers(String queueName) throws Exception
queueName
- the name of the topic, not null
null
Exception
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getTopicSubscribers(String topicName) throws Exception
queueName
- the name of the topic, not null
null
Exception
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getNonDurableTopicSubscribers() throws Exception
queueName
- the name of the topic, not null
null
Exception
Collection<org.apache.activemq.broker.jmx.DurableSubscriptionViewMBean> getDurableTopicSubscribers() throws Exception
null
Exception
Collection<org.apache.activemq.broker.jmx.DurableSubscriptionViewMBean> getInactiveDurableTopicSubscribers() throws Exception
null
Exception
Collection<String> getConnectors() throws Exception
null
Exception
org.apache.activemq.broker.jmx.ConnectorViewMBean getConnector(String name) throws Exception
name
- name of the connector (f.e. openwire)null
if not foundException
Collection<org.apache.activemq.broker.jmx.ConnectionViewMBean> getConnections() throws Exception
null
Exception
Collection<String> getConnections(String connectorName) throws Exception
connectorName
- not null
null
Exception
getConnection(String)
org.apache.activemq.broker.jmx.ConnectionViewMBean getConnection(String connectionName) throws Exception
connectionName
- the name of the connection, not null
null
Exception
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getConsumersOnConnection(String connectionName) throws Exception
connectionName
- the name of the connection, not null
null
Exception
Collection<org.apache.activemq.broker.jmx.NetworkConnectorViewMBean> getNetworkConnectors() throws Exception
null
Exception
Collection<org.apache.activemq.broker.jmx.NetworkBridgeViewMBean> getNetworkBridges() throws Exception
null
Exception
void purgeQueue(org.apache.activemq.command.ActiveMQDestination destination) throws Exception
destination
- Exception
org.apache.activemq.broker.jmx.QueueViewMBean getQueue(String name) throws Exception
name
- not null
null
if no queue with this name existsException
org.apache.activemq.broker.jmx.TopicViewMBean getTopic(String name) throws Exception
name
- not null
null
if no topic with this name existsException
org.apache.activemq.broker.jmx.JobSchedulerViewMBean getJobScheduler() throws Exception
Exception
Collection<JobFacade> getScheduledJobs() throws Exception
Exception
boolean isJobSchedulerStarted()
Copyright © 2005–2018 FuseSource, Corp.. All rights reserved.