public interface BrokerFacade
| Modifier and Type | Method and Description |
|---|---|
BrokerViewMBean |
getBrokerAdmin()
Admin view of the broker.
|
java.lang.String |
getBrokerName()
The name of the active broker (f.e.
|
ConnectionViewMBean |
getConnection(java.lang.String connectionName)
A specific connection to the broker.
|
java.util.Collection<ConnectionViewMBean> |
getConnections()
All connections to all transport connectors of the broker.
|
java.util.Collection<java.lang.String> |
getConnections(java.lang.String connectorName)
The names of all connections to a specific transport connectors of the
broker.
|
ConnectorViewMBean |
getConnector(java.lang.String name)
A transport connectors.
|
java.util.Collection<java.lang.String> |
getConnectors()
The names of all transport connectors of the broker (f.e.
|
java.util.Collection<SubscriptionViewMBean> |
getConsumersOnConnection(java.lang.String connectionName)
Returns all consumers of a connection.
|
java.util.Collection<DurableSubscriptionViewMBean> |
getDurableTopicSubscribers()
Active durable subscribers to topics of the broker.
|
java.util.Collection<DurableSubscriptionViewMBean> |
getInactiveDurableTopicSubscribers()
Inactive durable subscribers to topics of the broker.
|
JobSchedulerViewMBean |
getJobScheduler()
Get the JobScheduler MBean
|
java.util.Collection<NetworkBridgeViewMBean> |
getNetworkBridges()
The brokers network bridges.
|
java.util.Collection<NetworkConnectorViewMBean> |
getNetworkConnectors()
The brokers network connectors.
|
QueueViewMBean |
getQueue(java.lang.String name)
Get the view of the queue with the specified name.
|
java.util.Collection<SubscriptionViewMBean> |
getQueueConsumers(java.lang.String queueName)
All active consumers of a queue.
|
java.util.Collection<QueueViewMBean> |
getQueues()
All queues known to the broker.
|
java.util.Collection<JobFacade> |
getScheduledJobs()
Get the JobScheduler MBean
|
TopicViewMBean |
getTopic(java.lang.String name)
Get the view of the topic with the specified name.
|
java.util.Collection<TopicViewMBean> |
getTopics()
All topics known to the broker.
|
boolean |
isJobSchedulerStarted() |
void |
purgeQueue(ActiveMQDestination destination)
Purges the given destination
|
java.lang.String getBrokerName()
throws java.lang.Exception
nulljava.lang.ExceptionBrokerViewMBean getBrokerAdmin() throws java.lang.Exception
nulljava.lang.Exceptionjava.util.Collection<QueueViewMBean> getQueues() throws java.lang.Exception
nulljava.lang.Exceptionjava.util.Collection<TopicViewMBean> getTopics() throws java.lang.Exception
nulljava.lang.Exceptionjava.util.Collection<SubscriptionViewMBean> getQueueConsumers(java.lang.String queueName) throws java.lang.Exception
queueName - the name of the queue, not nullnulljava.lang.Exceptionjava.util.Collection<DurableSubscriptionViewMBean> getDurableTopicSubscribers() throws java.lang.Exception
nulljava.lang.Exceptionjava.util.Collection<DurableSubscriptionViewMBean> getInactiveDurableTopicSubscribers() throws java.lang.Exception
nulljava.lang.Exceptionjava.util.Collection<java.lang.String> getConnectors()
throws java.lang.Exception
nulljava.lang.ExceptionConnectorViewMBean getConnector(java.lang.String name) throws java.lang.Exception
name - name of the connector (f.e. openwire)null if not foundjava.lang.Exceptionjava.util.Collection<ConnectionViewMBean> getConnections() throws java.lang.Exception
nulljava.lang.Exceptionjava.util.Collection<java.lang.String> getConnections(java.lang.String connectorName)
throws java.lang.Exception
connectorName - not nullnulljava.lang.ExceptiongetConnection(String)ConnectionViewMBean getConnection(java.lang.String connectionName) throws java.lang.Exception
connectionName - the name of the connection, not nullnulljava.lang.Exceptionjava.util.Collection<SubscriptionViewMBean> getConsumersOnConnection(java.lang.String connectionName) throws java.lang.Exception
connectionName - the name of the connection, not nullnulljava.lang.Exceptionjava.util.Collection<NetworkConnectorViewMBean> getNetworkConnectors() throws java.lang.Exception
nulljava.lang.Exceptionjava.util.Collection<NetworkBridgeViewMBean> getNetworkBridges() throws java.lang.Exception
nulljava.lang.Exceptionvoid purgeQueue(ActiveMQDestination destination) throws java.lang.Exception
destination - java.lang.ExceptionQueueViewMBean getQueue(java.lang.String name) throws java.lang.Exception
name - not nullnull if no queue with this name existsjava.lang.ExceptionTopicViewMBean getTopic(java.lang.String name) throws java.lang.Exception
name - not nullnull if no topic with this name existsjava.lang.ExceptionJobSchedulerViewMBean getJobScheduler() throws java.lang.Exception
java.lang.Exceptionjava.util.Collection<JobFacade> getScheduledJobs() throws java.lang.Exception
java.lang.Exceptionboolean isJobSchedulerStarted()
Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.