|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BrokerViewMBean
Method Summary | |
---|---|
void |
addQueue(String name)
Adds a Queue destination to the broker. |
void |
addTopic(String name)
Adds a Topic destination to the broker. |
ObjectName |
createDurableSubscriber(String clientId,
String subscriberName,
String topicName,
String selector)
Creates a new durable topic subscriber |
void |
destroyDurableSubscriber(String clientId,
String subscriberName)
Destroys a durable subscriber |
void |
gc()
The Broker will fush it's caches so that the garbage collector can recalaim more memory. |
String |
getBrokerId()
|
ObjectName[] |
getDurableTopicSubscribers()
|
ObjectName[] |
getInactiveDurableTopicSubscribers()
|
long |
getMemoryLimit()
|
int |
getMemoryPercentageUsed()
|
ObjectName[] |
getQueues()
|
ObjectName[] |
getQueueSubscribers()
|
ObjectName[] |
getTemporaryQueues()
|
ObjectName[] |
getTemporaryQueueSubscribers()
|
ObjectName[] |
getTemporaryTopics()
|
ObjectName[] |
getTemporaryTopicSubscribers()
|
ObjectName[] |
getTopics()
|
ObjectName[] |
getTopicSubscribers()
|
long |
getTotalConsumerCount()
|
long |
getTotalDequeueCount()
|
long |
getTotalEnqueueCount()
|
long |
getTotalMessageCount()
|
void |
removeQueue(String name)
Removes a Queue destination from the broker. |
void |
removeTopic(String name)
Removes a Topic destination from the broker. |
void |
resetStatistics()
|
void |
setMemoryLimit(long limit)
|
void |
stop()
Stop the broker and all it's components. |
void |
terminateJVM(int exitCode)
Shuts down the JVM. |
Methods inherited from interface org.apache.activemq.Service |
---|
start |
Method Detail |
---|
String getBrokerId()
void gc() throws Exception
Exception
void resetStatistics()
long getTotalEnqueueCount()
long getTotalDequeueCount()
long getTotalConsumerCount()
long getTotalMessageCount()
int getMemoryPercentageUsed()
long getMemoryLimit()
void setMemoryLimit(long limit)
void terminateJVM(int exitCode)
exitCode
- the exit code that will be reported by the JVM process when it exits.void stop() throws Exception
stop
in interface Service
Exception
ObjectName[] getTopics()
ObjectName[] getQueues()
ObjectName[] getTemporaryTopics()
ObjectName[] getTemporaryQueues()
ObjectName[] getTopicSubscribers()
ObjectName[] getDurableTopicSubscribers()
ObjectName[] getInactiveDurableTopicSubscribers()
ObjectName[] getQueueSubscribers()
ObjectName[] getTemporaryTopicSubscribers()
ObjectName[] getTemporaryQueueSubscribers()
void addTopic(String name) throws Exception
name
- The name of the Topic
Exception
void addQueue(String name) throws Exception
name
- The name of the Queue
Exception
void removeTopic(String name) throws Exception
name
- The name of the Topic
Exception
void removeQueue(String name) throws Exception
name
- The name of the Queue
Exception
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 null
Exception
void destroyDurableSubscriber(String clientId, String subscriberName) throws Exception
clientId
- the JMS client IDsubscriberName
- the durable subscriber name
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |