public interface MessageQueues
| Modifier and Type | Method and Description |
|---|---|
MessageQueue |
createAndOpen(String queueName,
int quota)
Create a message queue with the specified name.
|
boolean |
hasQueue(String queueName)
Method to test whether a queue with a specified name exists (tries to open the queue)
|
MessageQueue |
open(String queueName,
boolean createOnFail)
Open a message queue, get a handle to it, and increment the queue's reference counter.
|
MessageQueue open(String queueName, boolean createOnFail)
queueName - name of the queue that is to be openedcreateOnFail - true to create the queue if it doesn't existDominoException - if the queue doesn't exist and createOnFail is falseboolean hasQueue(String queueName)
queueName - queue nameMessageQueue createAndOpen(String queueName, int quota)
queueName - name to be assigned to the message queuequota - Maximum number of messages that the queue may contain. Set this to zero for the default maximum. The default maximum number of messages that the queue may contain is MAXWORD.Copyright © 2019–2021 HCL. All rights reserved.