MQQueue
public MQQueue(MQQueueManager qMgr, String queueName, int openOptions, String queueManagerName, String dynamicQueueName, String alternateUserId) throws MQException;
Public constructor which allows users to create MQQueue subclasses.
- Parameters
- qMgr - the object which represents the queue manager on which the queue resides. Valid options are:
- MQC.MQOO_ALTERNATE_USER_AUTHORITY
- MQC.MQOO_BIND_AS_Q_DEF
- MQC.MQOO_BIND_NOT_FIXED
- MQC.MQOO_BIND_ON_OPEN
- MQC.MQOO_BROWSE
- MQC.MQOO_FAIL_IF_QUIESCING
- MQC.MQOO_INPUT_AS_Q_DEF
- MQC.MQOO_INPUT_SHARED
- MQC.MQOO_INPUT_EXCLUSIVE
- MQC.MQOO_INQUIRE
- MQC.MQOO_OUTPUT
- MQC.MQOO_PASS_ALL_CONTEXT
- MQC.MQOO_PASS_IDENTITY_CONTEXT
- MQC.MQOO_SAVE_ALL_CONTEXT
- MQC.MQOO_SET
- MQC.MQOO_SET_ALL_CONTEXT
- MQC.MQOO_SET_IDENTITY_CONTEXT
- MQC.MQOO_RESOLVE_LOCAL_Q
If more than one option is required, the values can be combined using either the '+' or '|' operator.
- queueName - name of the queue to open.
- openOptions - options which control the opening of the queue.
- queueManagerName - name of the queue manager on which the queue is defined. If it is blank or null the queue manager to which this MQQueueManager object is connected is used.
- dynamicQueueName - specifies the name of the dynamic queue to be created. It is ignored unless queueName specifies the name of a model queue, in which case it must not be blank or null. If the last non-blank character in the name is an asterisk (*), the queue manager replaces the asterisk with a string of characters that guarantees that the name generated for the queue is unique on this queue manager.
- alternateUserId - the alternative user ID used to check the authorization for the open if MQC.MQOO_ALTERNATE_USER_AUTHORITY is specified in openOptions.
- Exceptions
- MQException - if the queue cannot be opened.
uj14560_