MQProcess

 

public MQProcess(MQQueueManager qMgr, String processName, int openOptions, 
                 String queueManagerName, 
                 String alternateUserId) throws MQException;

Establishes access to a WebSphere MQ process on the specified queue manager in to inquire about the process attributes. It has been made public to permit subclassing.

Parameters

  • qMgr - the queue manager which is running the process.

  • processName - the name of process to open.

  • openOptions - options which control the opening of the process. As inquire is automatically added to the options specified there is no need to specify it explicitly. Valid options are:

    • MQC.MQOO_ALTERNATE_USER_AUTHORITY

    • MQC.MQOO_FAIL_IF_QUIESCING

    If more than one option is required, the values can be combined using either the '+' or '|' operator.

  • queueManagerName - the name of queue manager qMgr.

  • alternateUserId - if MQC.MQOO_ALTERNATE_USER_AUTHORITY is specified in the openOptions parameter, this parameter specifies the alternative user ID to be used to check the authorization for the open. Otherwise this parameter can be blank or null.

Exceptions

  • MQException - if the open fails.


uj14310_