|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BrokerFacade
A facade for either a local in JVM broker or a remote broker over JMX
Method Summary | |
---|---|
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()
All durable subscribers to topics of the broker. |
Collection<NetworkConnectorViewMBean> |
getNetworkConnectors()
The brokers network connectors. |
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<QueueViewMBean> |
getQueues()
All queues known to the broker. |
TopicViewMBean |
getTopic(String name)
Get the view of the topic with the specified name. |
Collection<TopicViewMBean> |
getTopics()
All topics known to the broker. |
void |
purgeQueue(ActiveMQDestination destination)
Purges the given destination |
Method Detail |
---|
String getBrokerName() throws Exception
null
Exception
BrokerViewMBean getBrokerAdmin() throws Exception
null
Exception
Collection<QueueViewMBean> getQueues() throws Exception
null
Exception
Collection<TopicViewMBean> getTopics() throws Exception
null
Exception
Collection<SubscriptionViewMBean> getQueueConsumers(String queueName) throws Exception
queueName
- the name of the queue, not null
null
Exception
Collection<DurableSubscriptionViewMBean> getDurableTopicSubscribers() throws Exception
null
Exception
Collection<String> getConnectors() throws Exception
null
Exception
ConnectorViewMBean getConnector(String name) throws Exception
name
- name of the connector (f.e. openwire)
null
if not found
Exception
Collection<ConnectionViewMBean> getConnections() throws Exception
null
Exception
Collection<String> getConnections(String connectorName) throws Exception
connectorName
- not null
null
Exception
getConnection(String)
ConnectionViewMBean getConnection(String connectionName) throws Exception
connectionName
- the name of the connection, not null
null
Exception
Collection<SubscriptionViewMBean> getConsumersOnConnection(String connectionName) throws Exception
connectionName
- the name of the connection, not null
null
Exception
Collection<NetworkConnectorViewMBean> getNetworkConnectors() throws Exception
null
Exception
void purgeQueue(ActiveMQDestination destination) throws Exception
destination
-
Exception
QueueViewMBean getQueue(String name) throws Exception
name
- not null
null
if no queue with this name exists
Exception
TopicViewMBean getTopic(String name) throws Exception
name
- not null
null
if no topic with this name exists
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |