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 MQExceptionAccess 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:
- 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.