|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JmsAdministration
JMS Administration interface. must be implemented for each jms provider JOnAS uses this interface to access the JMS provider.
Method Summary | |
---|---|
Queue |
createQueue(String name)
Create a Queue |
Topic |
createTopic(String name)
Create a Topic |
void |
deleteDestination(String name)
Delete a destination. |
int |
getPendingMessages(Queue queue)
Get number of pending messages on a queue |
int |
getPendingRequests(Queue queue)
Get number of pending requests on a queue |
int |
getSubscriptions(Topic topic)
Get number of subscriptions on a topic |
XAConnectionFactory |
getXAConnectionFactory()
Get the XAConnectionFactory |
XAQueueConnectionFactory |
getXAQueueConnectionFactory()
Get the XAQueueConnectionFactory |
XATopicConnectionFactory |
getXATopicConnectionFactory()
Get the XATopicConnectionFactory |
void |
start(boolean collocated,
String url)
Jms Administrator is created with newInstance(). |
void |
stop()
Stop the Jms Administrator |
Method Detail |
---|
void start(boolean collocated, String url) throws Exception
boolean
- true for if the MOM in run in the current JVMString
- url connexion that must be used.
Exception
void stop()
XAConnectionFactory getXAConnectionFactory()
XATopicConnectionFactory getXATopicConnectionFactory()
XAQueueConnectionFactory getXAQueueConnectionFactory()
Topic createTopic(String name) throws Exception
Exception
Queue createQueue(String name) throws Exception
Exception
void deleteDestination(String name) throws Exception
Exception
int getPendingMessages(Queue queue) throws Exception
Exception
int getPendingRequests(Queue queue) throws Exception
Exception
int getSubscriptions(Topic topic) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |