MQProcess

public class MQProcess
extends MQManagedObject
java.lang.Object
   |
   +----com.ibm.mq.MQManagedObject
           |
           +----com.ibm.mq.MQProcess
          

MQProcess provides inquire operations for WebSphere MQ processes. Use MQQueueManager.accessProcess() to create an MQProcess object.

Constructors

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
Exceptions

Methods

close

public void close() throws MQException;

Closes the process.

Exceptions

getApplicationId

public String getApplicationId() throws MQException;

Gets the character string which identifies the application to be started. This information is used by a trigger monitor application which processes messages on the initiation queue; the information is sent to the initiation queue as part of the trigger message.

Returns
Exceptions

getApplicationType

public int getApplicationType() throws MQException;

Identifies the nature of the process to be started in response to a trigger message.

Returns
Exceptions

getEnvironmentData

public String getEnvironmentData() throws MQException;

Gets information on the environment of the application that is to be started.

Returns
Exceptions

getUserData

public String getUserData() throws MQException;

Gets information pertaining to the application to be started.

Returns
Exceptions