public interface BrokerViewMBean extends Service
String getBrokerId()
String getBrokerName()
String getBrokerVersion()
void gc() throws Exception
Exception
void resetStatistics()
void enableStatistics()
void disableStatistics()
boolean isStatisticsEnabled()
long getTotalEnqueueCount()
long getTotalDequeueCount()
long getTotalConsumerCount()
long getTotalProducerCount()
long getTotalMessageCount()
int getMemoryPercentUsage()
long getMemoryLimit()
void setMemoryLimit(long limit)
int getStorePercentUsage()
long getStoreLimit()
void setStoreLimit(long limit)
int getTempPercentUsage()
long getTempLimit()
void setTempLimit(long limit)
boolean isPersistent()
boolean isSlave()
void terminateJVM(int exitCode)
exitCode
- the exit code that will be reported by the JVM process
when it exits.void stop() throws Exception
void stopGracefully(String connectorName, String queueName, long timeout, long pollInterval) throws Exception
Exception
ObjectName[] getTopics()
ObjectName[] getQueues()
ObjectName[] getTemporaryTopics()
ObjectName[] getTemporaryQueues()
ObjectName[] getTopicSubscribers()
ObjectName[] getDurableTopicSubscribers()
ObjectName[] getInactiveDurableTopicSubscribers()
ObjectName[] getQueueSubscribers()
ObjectName[] getTemporaryTopicSubscribers()
ObjectName[] getTemporaryQueueSubscribers()
ObjectName[] getTopicProducers()
ObjectName[] getQueueProducers()
ObjectName[] getTemporaryTopicProducers()
ObjectName[] getTemporaryQueueProducers()
ObjectName[] getDynamicDestinationProducers()
String addNetworkConnector(String discoveryAddress) throws Exception
Exception
boolean removeNetworkConnector(String connectorName) throws Exception
Exception
void addTopic(String name) throws Exception
name
- The name of the TopicException
void addQueue(String name) throws Exception
name
- The name of the QueueException
void removeTopic(String name) throws Exception
name
- The name of the TopicException
void removeQueue(String name) throws Exception
name
- The name of the QueueException
ObjectName createDurableSubscriber(String clientId, String subscriberName, String topicName, String selector) throws Exception
clientId
- the JMS client IDsubscriberName
- the durable subscriber nametopicName
- the name of the topic to subscribe toselector
- a selector or nullException
void destroyDurableSubscriber(String clientId, String subscriberName) throws Exception
clientId
- the JMS client IDsubscriberName
- the durable subscriber nameException
void reloadLog4jProperties() throws Throwable
Throwable
String getOpenWireURL()
String getStompURL()
String getSslURL()
String getStompSslURL()
String getVMURL()
String getDataDirectory()
ObjectName getJMSJobScheduler()
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.