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