MQProcess

 




java.lang.Object
   |
   *- com.ibm.mq.MQManagedObject
           |
           *- com.ibm.mq.MQProcess

public class MQProcess
extends MQManagedObject. (See topic "MQManagedObject".)

MQProcess provides inquire operations for WebSphere MQ processes.

 

Constructors

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

Access a process on the queue manager qMgr. See accessProcess in the MQQueueManager for details of the remaining parameters.

 

Methods

close
public synchronized void close()

Throws MQException.

Overrides MQManagedObject.close.

getApplicationId
public String getApplicationId()

A character string that identifies the application to be started. This information is for use by a trigger monitor application that processes messages on the initiation queue; the information is sent to the initiation queue as part of the trigger message.

Throws MQException if you call this method after you have closed the process.

getApplicationType
public int getApplicationType()

Throws MQException (see topic "MQException").

Identifies the nature of the program to be started in response to the receipt of a trigger message. The application type can take any value, but the following values are recommended for standard types:

  • MQC.MQAT_AIX

  • MQC.MQAT_CICS

  • MQC.MQAT_DOS

  • MQC.MQAT_IMS

  • MQC.MQAT_MVS

  • MQC.MQAT_OS2

  • MQC.MQAT_OS400

  • MQC.MQAT_UNIX

  • MQC.MQAT_WINDOWS

  • MQC.MQAT_WINDOWS_NT

  • MQC.MWQAT_USER_FIRST (lowest value for user-defined application type)

  • MQC.MQAT_USER_LAST (highest value for user-defined application type)

getEnvironmentData
public String getEnvironmentData()

Throws MQException.

A string containing environment-related information pertaining to the application to be started.

getUserData
public String getUserData()

Throws MQException.

A string containing user information relevant to the application to be started.

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.