|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JMSServerManager
The JMS Management interface.
Nested Class Summary | |
---|---|
static class |
JMSServerManager.ListType
|
Method Summary | |
---|---|
boolean |
createConnectionFactory(java.lang.String name,
java.lang.String clientID,
int dupsOKBatchSize,
int consumerWindowSize,
int consumerMaxRate,
int producerWindowSize,
int producerMaxRate,
boolean blockOnAcknowledge,
boolean defaultSendNonPersistentMessagesBlocking,
boolean defaultSendPersistentMessagesBlocking,
java.util.List<java.lang.String> jndiBindings)
Creates a connection factory |
boolean |
createConnectionFactory(java.lang.String name,
java.lang.String clientID,
int dupsOKBatchSize,
int consumerWindowSize,
int consumerMaxRate,
int producerWindowSize,
int producerMaxRate,
boolean blockOnAcknowledge,
boolean defaultSendNonPersistentMessagesBlocking,
boolean defaultSendPersistentMessagesBlocking,
java.lang.String jndiBinding)
Creates a connection factory |
boolean |
createQueue(java.lang.String queueName,
java.lang.String jndiBinding)
Creates a JMS Queue. |
boolean |
createTopic(java.lang.String topicName,
java.lang.String jndiBinding)
Creates a JMS Topic |
boolean |
destroyConnectionFactory(java.lang.String name)
destroys a connection factory. |
boolean |
destroyQueue(java.lang.String name)
destroys a queue and removes it from JNDI |
boolean |
destroyTopic(java.lang.String name)
destroys a topic and removes it from JNDI |
int |
getMessageCountForQueue(java.lang.String queue)
returns how many messages a queue is currently holding |
boolean |
isStarted()
Has the Server been started. |
java.util.List<SubscriptionInfo> |
listSubscriptions(java.lang.String topic)
lists all the subscriptions for a specific topic |
void |
removeAllMessagesForQueue(java.lang.String queue)
removes all messages from a particular queue |
void |
removeAllMessagesForTopic(java.lang.String topic)
removes all the messages from a topic |
Method Detail |
---|
boolean isStarted()
boolean createQueue(java.lang.String queueName, java.lang.String jndiBinding) throws java.lang.Exception
queueName
- The name of the queue to createjndiBinding
- the name of the binding for JNDI
java.lang.Exception
- if problems were encountered creating the queue.boolean createTopic(java.lang.String topicName, java.lang.String jndiBinding) throws java.lang.Exception
topicName
- the name of the topicjndiBinding
- the name of the binding for JNDI
java.lang.Exception
- if a problem occurred creating the topicboolean destroyQueue(java.lang.String name) throws java.lang.Exception
name
- the name of the queue to destroy
java.lang.Exception
- if a problem occurred destroying the queueboolean destroyTopic(java.lang.String name) throws java.lang.Exception
name
- the name of the topic to destroy
java.lang.Exception
- if a problem occurred destroying the topicboolean createConnectionFactory(java.lang.String name, java.lang.String clientID, int dupsOKBatchSize, int consumerWindowSize, int consumerMaxRate, int producerWindowSize, int producerMaxRate, boolean blockOnAcknowledge, boolean defaultSendNonPersistentMessagesBlocking, boolean defaultSendPersistentMessagesBlocking, java.lang.String jndiBinding) throws java.lang.Exception
name
- the name of this connection factoryclientID
- the client iddupsOKBatchSize
- the bath sizeconsumerWindowSize
- The consumer window sizeconsumerMaxRate
- the Consumer max rateproducerWindowSize
- the producer window sizeproducerMaxRate
- the producer max ratejndiBinding
- the binding name for JNDI
java.lang.Exception
- if a problem occurred creating the connection factoryboolean createConnectionFactory(java.lang.String name, java.lang.String clientID, int dupsOKBatchSize, int consumerWindowSize, int consumerMaxRate, int producerWindowSize, int producerMaxRate, boolean blockOnAcknowledge, boolean defaultSendNonPersistentMessagesBlocking, boolean defaultSendPersistentMessagesBlocking, java.util.List<java.lang.String> jndiBindings) throws java.lang.Exception
name
- the name of this connection factoryclientID
- the client iddupsOKBatchSize
- the bath sizeconsumerWindowSize
- The consumer window sizeconsumerMaxRate
- the Consumer max rateproducerWindowSize
- the producer window sizeproducerMaxRate
- the producer max ratejndiBindings
- the binding names for JNDI
java.lang.Exception
- if a problem occurred creating the connection factoryboolean destroyConnectionFactory(java.lang.String name) throws java.lang.Exception
name
- the name of the connection factory to destroy
java.lang.Exception
- if a problem occurred destroying the connection factoryvoid removeAllMessagesForQueue(java.lang.String queue) throws java.lang.Exception
queue
- the name of the queue
java.lang.Exception
- if a problem occurredvoid removeAllMessagesForTopic(java.lang.String topic) throws java.lang.Exception
topic
- the name of the topic
java.lang.Exception
- if a problem occurredint getMessageCountForQueue(java.lang.String queue) throws java.lang.Exception
queue
- the name of the queue
java.lang.Exception
- if a problem occurredjava.util.List<SubscriptionInfo> listSubscriptions(java.lang.String topic) throws java.lang.Exception
topic
- the name of the topic
java.lang.Exception
- if a problem occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |