MQC

public interface MQC
com.ibm.mq.MQC
          

The MQC interface defines all the constants used by the WebSphere MQ Java programming interface (except for completion code constants and error code constants). To refer to one of these constants from within your programs, simply prefix constant name with "MQC.". For example, you can set the close options for a queue as follows:

    MQQueue queue;
    ...
    queue.closeOptions = MQC.MQCO_DELETE;  // delete the queue when it is closed
    ...
 

Fields

ASSOCIATE_ALL

public final static int

This value can be defined in the MQEnvironment to indicate that the MQQueueManager object being created can be shared within the context of the Java Virtual Machine. A subsequent call to MQEnvironment.getQueueManagerReference(int) or MQEnvironment.getQueueManagerReference(int, Object), where the Object is a Java String containing the name of the WebSphere MQ queue manager, will return a reference to this MQQueueManager object.

ASSOCIATE_NONE

public final static int

This value can be defined in the MQEnvironment to indicate that the MQQueueManager object being created will not be available for sharing within any context. This is the default value.

ASSOCIATE_THREAD

public final static int

This value can be defined in the MQEnvironment to indicate that the MQQueueManager object being created can be shared within the context of the currently executing thread. A subsequent call to MQEnvironment.getQueueManagerReference(int) or MQEnvironment.getQueueManagerReference(int, Object), where the Object is a Java String containing the name of the WebSphere MQ queue manager, will return a reference to this MQQueueManager object.

CCSID_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the CCSID, the coded-character-set-ID to be used on connections. The corresponding value must be an Integer. This property overrides MQEnvironment.CCSID.

CHANNEL_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the channel name. The corresponding value must be a String. This property overrides MQEnvironment.channel .

CONNECT_OPTIONS_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the connect options. Permitted values are

The default value is MQC.MQCNO_NONE

CONNTAG_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the connection tag. This is a tag that the queue manager associates with the resources that are affected by the application during this connection. It is only used by z/OS. The length of the connection tag must be 128 bytes.

HDRCOMPLIST_LENGTH

public final static int

The maximum length of the list of header compression techniques which can be set.

HEADER_COMPRESSION_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for specifying compression techniques (in order of preference) to be applied to message header data. The corresponding value must be of type java.util.Collection. The following compression technique options are valid:

MQCOMPRESS_NONE
MQCOMPRESS_SYSTEM.

This property overrides MQEnvironment.hdrCompList .

HOST_NAME_PROPERTY

public final static java.lang.String

The WebSphere MQ Java environment key for defining the host name property. The corresponding value must be a String. This property overrides MQEnvironment.hostname.

LOCAL_ADDRESS_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining firewall local address property. The corresponding value must be a String, in the format "IP(Low port, High port)", e.g. "9.20.0.1(2000,3000)". This defines a range of local ports to be selected when making a connection to an MQ queue manager.

MESSAGE_COMPRESSION_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for specifying compression techniques (in order of preference) to be applied to message data. The corresponding value must be of type java.util.Collection. The following compression technique options are valid:

MQCOMPRESS_NONE
MQCOMPRESS_RLE
MQCOMPRESS_ZLIBFAST
MQCOMPRESS_ZLIBHIGH.

This property overrides MQEnvironment.msgCompList.

MQ_ACCOUNTING_TOKEN_LENGTH

public final static int

This defines the length of the accounting token field. The length is 32 bytes.

MQ_APPL_IDENTITY_DATA_LENGTH

public final static int

This defines the length of the application identity field. The length is 32 characters.

MQ_APPL_NAME_LENGTH

public final static int

This defines the length of the application name. The length is 28 characters.

MQ_APPL_ORIGIN_DATA_LENGTH

public final static int

This defines length of the application origin data field. ApplOriginData is information that is defined by the application suite that can be used to provide additional information about the origin of the message. The length is 4 characters.

MQ_CHANNEL_NAME_LENGTH

public final static int

This defines the length of the channel name field. The length is 20 characters.

MQ_CONN_NAME_LENGTH

public final static int

This defines the length of the connection name field. The length is 264 characters.

MQ_CONN_TAG_LENGTH

public final static int

This defines length of the connection tag. This is a tag that the queue manager associates with the resources that are affected by the application during this connection. The length is 128 bytes.

MQ_CORREL_ID_LENGTH

public final static int

This defines the length of the correlation ID field. The length is 24 bytes.

MQ_EXIT_DATA_LENGTH

public final static int

This defines the length of the exit data. The length is 32 bytes.

MQ_EXIT_NAME_LENGTH

public final static int

This defines the length of the exit name. The length is variable.

MQ_EXIT_USER_AREA_LENGTH

public final static int

This defines the length of the exit user area. The length is 16 bytes.

MQ_FORMAT_LENGTH

public final static int

This defines length of the message format field. The length is 8 bytes.

MQ_GROUP_ID_LENGTH

public final static int

This defines the length of the Group ID field. The length is 24 bytes

MQ_MSG_HEADER_LENGTH

public final static int

This defines the length of the message header. The length is 4000 bytes.

MQ_MSG_ID_LENGTH

public final static int

This defines the length of the message ID field. The length is 24 bytes.

MQ_MSG_TOKEN_LENGTH

public final static int

This defines the length of the message token field. The length is 16 bytes.

MQ_NAMELIST_DESC_LENGTH

public final static int

This defines the length of the namelist description field. The length is 64 characters.

MQ_NAMELIST_NAME_LENGTH

public final static int

This defines the length of the name of the namelist. The length is 48 characters.

MQ_PASSWORD_LENGTH

public final static int

This defines the length of the password field. The length is 12 characters.

MQ_PROCESS_APPL_ID_LENGTH

public final static int

This defines the length of the process application ID field. The length is 256 bytes.

MQ_PROCESS_DESC_LENGTH

public final static int

This defines the length of the process description field. The length is 64 bytes.

MQ_PROCESS_ENV_DATA_LENGTH

public final static int

This defines the length of the environment data field. The length is 128 bytes.

MQ_PROCESS_NAME_LENGTH

public final static int

This defines the length of the process name field. The length is 48 bytes.

MQ_PROCESS_USER_DATA_LENGTH

public final static int

This defines the length of the process user data field. The length is 128 bytes.

MQ_PUT_APPL_NAME_LENGTH

public final static int

This defines the length of the MQ_PUT_APPL_NAME field. This contains the name of the application that put a message on the dead-letter (undelivered-message) queue. The length is 28 characters.

MQ_Q_DESC_LENGTH

public final static int

This defines the length of the queue description field. The length is 64 characters.

MQ_Q_MGR_DESC_LENGTH

public final static int

This defines the length of the queue manager description field. The length is 64 characters.

MQ_Q_MGR_NAME_LENGTH

public final static int

This defines the length of the queue manager name field. The length is 48 characters.

MQ_Q_NAME_LENGTH

public final static int

This defines the length of the queue name field. The length is 48 characters.

MQ_QMGR_ASSOCIATION_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining whether an MQQueueManager object can be shared within a specified context. If this value is not set, then the default behavior is to prevent the object being shared.

MQ_QSG_NAME_LENGTH

public final static int

This defines the length of the queue sharing group name field. The length is 4 characters.

MQ_SECURITY_ID_LENGTH

public final static int

This defines the length of the security ID field. The length is 40 bytes.

MQ_STORAGE_CLASS_LENGTH

public final static int

This defines the length of the storage class name field. The length is 8 characters.

MQ_TRIGGER_DATA_LENGTH

public final static int

This defines the length of the trigger data field. The length is 64 bytes.

MQ_USER_ID_LENGTH

public final static int

This defines the length of the user ID field. The length is 12 bytes.

MQACT_NONE

public final static byte[]

No accounting token is specified. The value is binary zero for the length of the field.

MQACTT_CICS_LUOW_ID

public final static byte

This defines a CICS LUOW accounting token.

MQACTT_DOS_DEFAULT

public final static byte

This defines the default MS-DOS accounting token.

MQACTT_NT_SECURITY_ID

public final static byte

This defines the Windows security ID accounting token.

MQACTT_OS2_DEFAULT

public final static byte

This defines the default OS/2 accounting token.

MQACTT_OS400_ACCOUNT_TOKEN

public final static byte

This defines the default i5/OS accounting token.

MQACTT_UNIX_NUMERIC_ID

public final static byte

This defines the default UNIX numeric accounting token.

MQACTT_UNKNOWN

public final static byte

This defines an unknown accounting token type.

MQACTT_USER

public final static byte

A user-defined accounting token.

MQACTT_WINDOWS_DEFAULT

public final static byte

This defines the default Windows accounting token.

MQAT_AIX

public final static int

This value indicates that an AIX application put the message. This is the same value as MQAT_UNIX.

MQAT_CICS

public final static int

This value indicates that a CICS transaction put the message.

MQAT_CICS_BRIDGE

public final static int

This value indicates that the CICS bridge put the message.

MQAT_CICS_VSE

public final static int

This value indicates that a CICS/VSE transaction put the message.

MQAT_DEFAULT

public final static int

This value indicates the default application type. This is the default application type for the platform on which the application is running.

MQAT_DOS

public final static int

This value indicates that a WebSphere MQ client application on PC DOS put the message.

MQAT_GUARDIAN

public final static int

This value indicates that a Tandem Guardian application put the message. This is the same value as MQAT_NSK.

MQAT_IMS

public final static int

This value indicates that an IMS application put the message.

MQAT_IMS_BRIDGE

public final static int

This value indicates that the IMS bridge put the message.

MQAT_JAVA

public final static int

This value indicates that a Java application put the message.

MQAT_MVS

public final static int

This value indicates that an MVS or TSO application put the message. This is the same value as MQAT_ZOS.

MQAT_NO_CONTEXT

public final static int

This value is set by the queue manager when a message is put with no context (that is, the MQPMO_NO_CONTEXT context option is specified).

MQAT_NOTES_AGENT

public final static int

This value indicates that a Lotus Notes Agent application put the message.

MQAT_NSK

public final static int

This value indicates that a Compaq NonStop Kernel application put the message.

MQAT_OS2

public final static int

This value indicates that an OS/2 application put the message.

MQAT_OS400

public final static int

This value indicates that a i5/OS application put the message.

MQAT_QMGR

public final static int

This value indicates that a queue manager put the message.

MQAT_UNIX

public final static int

This value indicates that a UNIX application put the message. This is the same value as MQAT_AIX.

MQAT_UNKNOWN

public final static int

This value indicates that the type of application that put the message is unknown, even though other context information is present.

MQAT_USER_FIRST

public final static int

This defines the lowest value for user-defined application types.

MQAT_USER_LAST

public final static int

This defines the highest value for user-defined application types.

MQAT_VMS

public final static int

This value indicates that a Digital OpenVMS application put the message.

MQAT_VOS

public final static int

This value indicates that a Stratus VOS application put the message.

MQAT_WINDOWS

public final static int

This value indicates that a 16-bit Windows application put the message.

MQAT_WINDOWS_NT

public final static int

This value indicates that a 32-bit Windows application put the message.

MQAT_XCF

public final static int

This value indicates that XCF put the message.

MQBND_BIND_NOT_FIXED

public final static int

This value indicates that binding is not fixed by the MQOPEN call. This is the binding that is used when MQOO_BIND_AS_Q_DEF is specified on the MQOPEN call and the queue is a cluster queue.

MQBND_BIND_ON_OPEN

public final static int

This value indicates that binding is fixed by the MQOPEN call. This is the binding that is used when MQOO_BIND_AS_Q_DEF is specified on the MQOPEN call and the queue is a cluster queue.

MQCA_ALTERATION_DATE

public final static int

This character attribute selector is used with an MQINQ call to determine the date of most-recent alteration. The length of the string is MQ_DATE_LENGTH.

MQCA_ALTERATION_TIME

public final static int

This character attribute selector is used with an MQINQ call to determine the time of most-recent alteration. The length of the string is MQ_TIME_LENGTH.

MQCA_APPL_ID

public final static int

This character attribute selector is used with an MQINQ call to determine the application ID. This is 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. The length of the string is MQ_PROCESS_APPL_ID_LENGTH.

MQCA_AUTH_INFO_CONN_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the connection name of an AuthInfo object.

MQCA_AUTH_INFO_DESC

public final static int

This character attribute selector is used with an MQINQ call to determine the description of an AuthInfo object.

MQCA_AUTH_INFO_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of an AuthInfo object.

MQCA_BACKOUT_REQ_Q_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the excessive backout requeue queue name. The length of the string is MQ_Q_NAME_LENGTH.

MQCA_BASE_Q_NAME

public final static int

This character attribute selector is used to determine the name of queue that alias resolves to. The length of string is MQ_Q_NAME_LENGTH.

MQCA_CF_STRUC_DESC

public final static int

This character attribute selector is used with an MQINQ call to determine the description of the coupling-facility structure where the messages on the queue are stored. The length of this attribute is given by MQ_CF_STRUC_NAME_LENGTH.

This attribute applies only to shared queues. This attribute is supported only on z/OS.

MQCA_CF_STRUC_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the coupling-facility structure where the messages on the queue are stored. The length of this attribute is given by MQ_CF_STRUC_NAME_LENGTH.

This attribute applies only to shared queues. This attribute is supported only on z/OS.

MQCA_CHANNEL_AUTO_DEF_EXIT

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the user exit for automatic channel definition. The length of the string is MQ_EXIT_NAME_LENGTH.

MQCA_CLUSTER_DATE

public final static int

This character attribute selector is used with an MQINQ call to determine the date when the cluster definition became available to the local queue manager. The format of the date is YYYY-MM-DD, padded with two trailing blanks to make the length 12 bytes. The length of the string is MQ_CREATION_DATE_LENGTH.

MQCA_CLUSTER_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the cluster to which the queue belongs. The length of the string is MQ_CLUSTER_NAME_LENGTH.

MQCA_CLUSTER_NAMELIST

public final static int

This character attribute selector is used with an MQINQ call to determine the name of a namelist object that contains the names of clusters to which this queue belongs. The length of the string is MQ_NAMELIST_NAME_LENGTH.

MQCA_CLUSTER_Q_MGR_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of a cluster queue manager. The length of the string is MQ_Q_MGR_NAME_LENGTH.

MQCA_CLUSTER_TIME

public final static int

This character attribute selector is used with an MQINQ call to determine the time when the cluster definition became available to the local queue manager. The format of the time is HH.MM.SS using the 24-hour clock, with a leading zero if the hour is less than 10. The length of the string is MQ_CREATION_TIME_LENGTH.

MQCA_CLUSTER_WORKLOAD_DATA

public final static int

This character attribute selector is used with an MQINQ call to determine the user-defined 32-byte character string that is passed to the cluster workload exit when it is called. If there is no data to pass to the exit, the string is blank. The length of the string is MQ_EXIT_DATA_LENGTH.

MQCA_CLUSTER_WORKLOAD_EXIT

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the user exit for cluster workload management. If this name is non-blank, the exit is called each time that a message is put to a cluster queue or moved from one cluster-sender queue to another. The length of the string is MQ_EXIT_NAME_LENGTH.

MQCA_COMMAND_INPUT_Q_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the command input queue defined on the local queue manager. This is a queue to which users can send commands, if authorized to do so. The name of the queue depends on the environment. The length of the string is MQ_Q_NAME_LENGTH.

MQCA_COMMAND_REPLY_Q_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the command reply queue defined on the local queue manager. The name of the queue depends on the environment. The length of the string is MQ_Q_NAME_LENGTH.

MQCA_CREATION_DATE

public final static int

This character attribute selector is used with an MQINQ call to determine the date when the queue was created. The format of the date is YYYY-MM-DD, padded with two trailing blanks to make the length 12 bytes. The length of the string is MQ_CREATION_DATE_LENGTH.

MQCA_CREATION_TIME

public final static int

This character attribute selector is used with an MQINQ call to determine the time when the queue was created. The format of the time is HH.MM.SS using the 24-hour clock, with a leading zero if the hour is less than 10. The length of the string is MQ_CREATION_TIME_LENGTH.

MQCA_DEAD_LETTER_Q_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the queue defined on the local queue manager as the dead-letter (undelivered-message) queue. Messages are sent to this queue if they cannot be routed to their correct destination. The length of the string is MQ_Q_NAME_LENGTH.

MQCA_DEF_XMIT_Q_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the transmission queue that is used for the transmission of messages to remote queue managers, if there is no other indication of which transmission queue to use. If there is no default transmission queue, the name is entirely blank. The initial value of this attribute is blank. The length of the string is MQ_Q_NAME_LENGTH.

MQCA_ENV_DATA

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the character string that contains environment-related information pertaining to 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. The length of the string is MQ_PROCESS_ENV_DATA_LENGTH.

MQCA_FIRST

public final static int

This defines the start of the range of valid character attribute selectors. The integer and character attribute selectors are allocated within two different ranges, with MQCA_* selectors within the range MQCA_FIRST through MQCA_LAST.

MQCA_IGQ_USER_ID

public final static int

This character attribute selector is used with an MQINQ call to determine the user identifier that is associated with the local intra-group queuing agent (IGQ agent). This attribute is applicable only if the local queue manager is a member of a queue-sharing group. The length of the string is MQ_USER_ID_LENGTH.

MQCA_INITIATION_Q_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the initiation queue defined on the local queue manager. The queue must be of type MQQT_LOCAL. The queue manager sends a trigger message to the initiation queue when application start-up is required as a result of a message arriving on the queue to which this attribute belongs. The length of the string is MQ_Q_NAME_LENGTH.

MQCA_LAST

public final static int

This defines the end of the range of valid character attribute selectors. The integer and character attribute selectors are allocated within two different ranges, with MQCA_* selectors within the range MQCA_FIRST through MQCA_LAST.

MQCA_LAST_USED

public final static int

This defines the highest value in the range of valid character attribute selectors that the queue manager will accept.

MQCA_LDAP_PASSWORD

public final static int

This character attribute selector is used with an MQINQ call to determine the password needed to access the defined LDAP CRL server.

MQCA_LDAP_USER_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the LDAP user name. It consists of the Distinguished Name of the user who is attempting to access the LDAP CRL server.

MQCA_NAMELIST_DESC

public final static int

This character attribute selector is used with an MQINQ call to determine the namelist description. The content of the field is of no significance to the queue manager. The length of the string is MQ_NAMELIST_DESC_LENGTH.

MQCA_NAMELIST_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the namelist name. For more information about namelist names, see the WebSphere MQ Application Programming Guide. The length of the string is MQ_NAMELIST_NAME_LENGTH.

MQCA_NAMES

public final static int

This character attribute selector is used with an MQINQ call to determine a list of NameCount names, where each name is the name of an object that is defined to the local queue manager. For more information about object names, see WebSphere MQ Application Programming Reference. The length of the each of the names in the list is MQ_OBJECT_NAME_LENGTH.

MQCA_PROCESS_DESC

public final static int

This character attribute selector is used with an MQINQ call to determine the process description. The content of the field is of no significance to the queue manager. The length of the string is MQ_PROCESS_DESC_LENGTH.

MQCA_PROCESS_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of a process definition that is defined on the local queue manager. Each process definition has a name that is different from the names of other process definitions belonging to the queue manager. The length of the string is MQ_PROCESS_NAME_LENGTH.

MQCA_Q_DESC

public final static int

This character attribute selector is used with an MQINQ call to determine a queue description. The content of the field is of no significance to the queue manager. The length of the string is MQ_Q_DESC_LENGTH.

MQCA_Q_MGR_DESC

public final static int

This character attribute selector is used with an MQINQ call to determine the queue manager description. The content of the field is of no significance to the queue manager. The length of the string is MQ_Q_MGR_DESC_LENGTH.

MQCA_Q_MGR_IDENTIFIER

public final static int

This character attribute selector is used with an MQINQ call to determine the internally-generated unique name for the queue manager. The length of the string is MQ_Q_MGR_IDENTIFIER_LENGTH.

MQCA_Q_MGR_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the local queue manager. That is, the name of the queue manager to which the application is connected. The length of the string is MQ_Q_MGR_NAME_LENGTH.

MQCA_Q_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of a queue defined on the local queue manager. For more information about queue names, see WebSphere MQ Application Programming Guide. All queues defined on a queue manager share the same queue name space. Therefore, an MQQT_LOCAL queue and an MQQT_ALIAS queue cannot have the same name. The length of the string is MQ_Q_NAME_LENGTH.

MQCA_QSG_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of a queue sharing group to which the local queue manager belongs. If the local queue manager does not belong to a queue-sharing group, the name is blank. The length of the string is MQ_QSG_NAME_LENGTH.

MQCA_REMOTE_Q_MGR_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the remote queue manager on which the queue RemoteQName is defined. If the RemoteQName queue has a QSGDisp value of MQQSGD_COPY or MQQSGD_SHARED, RemoteQMgrName can be the name of the queue-sharing group that owns RemoteQName. The length of the string is MQ_Q_MGR_NAME_LENGTH.

MQCA_REMOTE_Q_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the queue as it is known on the remote queue manager RemoteQMgrName. The length of the string is MQ_Q_NAME_LENGTH.

MQCA_REPOSITORY_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the name of a cluster for which this queue manager provides a repository-manager service. The length of the string is MQ_Q_MGR_NAME_LENGTH.

MQCA_REPOSITORY_NAMELIST

public final static int

This character attribute selector is used with an MQINQ call to determine the name of a namelist object that contains the names of clusters for which this queue manager provides a repository-manager service. If the queue manager provides this service for only one cluster, the namelist object contains only one name. The length of the string is MQ_NAMELIST_NAME_LENGTH.

MQCA_SSL_CRL_NAMELIST

public final static int

This character attribute selector is used with an MQINQ call to determine the name of the namelist object containing names of authentication information objects.

MQCA_SSL_CRYPTO_HARDWARE

public final static int

This character attribute selector is used with an MQINQ call to determine the cryptographic hardware configuration string. This field is relevant only for WebSphere MQ clients running on UNIX systems.

MQCA_STORAGE_CLASS

public final static int

This character attribute selector is used with an MQINQ call to determine the user-defined name that defines the physical storage used to hold the queue. This attribute is supported only on z/OS. The length of the string is MQ_STORAGE_CLASS_LENGTH.

MQCA_STORAGE_CLASS_DESC

public final static int

This character attribute selector is used with an MQINQ call to determine the user-defined description of the physical storage used to hold the queue. The content of the field is of no significance to the queue manager. This attribute is supported only on z/OS. The length of the string is MQ_STORAGE_CLASS_LENGTH.

MQCA_TRIGGER_DATA

public final static int

This character attribute selector is used with an MQINQ call to determine the free-format data that the queue manager inserts into the trigger message when a message arriving on this queue causes a trigger message to be written to the initiation queue. The length of the string is MQ_TRIGGER_DATA_LENGTH.

MQCA_USER_DATA

public final static int

This character attribute selector is used with an MQINQ call to determine the string that contains user information pertaining to the application to be started. This information is for use by a trigger-monitor application that processes messages on the initiation queue, or the application that is started by the trigger monitor. The information is sent to the initiation queue as part of the trigger message. The length of the string is MQ_PROCESS_USER_DATA_LENGTH.

MQCA_XCF_GROUP_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the XCF group name. The maximum length of the string is MQ_XCF_GROUP_NAME_LENGTH.

MQCA_XCF_MEMBER_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the XCF member name. The maximum length of the string is MQ_XCF_MEMBER_NAME_LENGTH.

MQCA_XMIT_Q_NAME

public final static int

This character attribute selector is used with an MQINQ call to determine the transmission queue name. If this attribute is not blank when an open occurs, either for a remote queue or for a queue-manager alias definition, it specifies the name of the local transmission queue to be used for forwarding the message. If XmitQName is blank, the local queue whose name is the same as RemoteQMgrName is used as the transmission queue. If there is no queue with the name RemoteQMgrName, the queue identified by the DefXmitQName queue-manager attribute is used. The length of the string is MQ_Q_NAME_LENGTH.

MQCCSI_DEFAULT

public final static int

The CodedCharSetId of the data in the String field is defined by the CodedCharSetId field in the header structure that precedes the MQCFH structure, or by the CodedCharSetId field in the MQMD if the MQCFH is at the start of the message.

MQCCSI_INHERIT

public final static int

Character data in the message is in the same character set as this structure. This is the queue manager's character set. (For MQMD only, MQCCSI_INHERIT has the same meaning as MQCCSI_Q_MGR).

The queue manager changes this value in the MQMD that is sent with the message to the actual character-set identifier of MQMD. Provided no error occurs, the value MQCCSI_INHERIT is not returned by the MQGET call.

MQCCSI_Q_MGR

public final static int

Character data in the message is in the queue manager's character set.

On the MQPUT and MQPUT1 calls, the queue manager changes this value in the MQMD that is sent with the message to the true character-set identifier of the queue manager. As a result, the value MQCCSI_Q_MGR is never returned by the MQGET call.

MQCF_DIST_LISTS

public final static int

This flag indicates that distribution lists are supported by the local queue manager.

MQCI_NEW_SESSION

public final static byte[]

This indicates that the Message is the start of a new session. This value is recognized by the CICS bridge as indicating the start of a new session, that is, the start of a new sequence of messages.

MQCI_NONE

public final static byte[]

No correlation ID is specified. The value is binary zero for the length of the field.

MQCMDL_LEVEL_1

public final static int

This indicates that level 1 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_101

public final static int

This indicates that level 1.01 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_110

public final static int

This indicates that level 1.10 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_114

public final static int

This indicates that level 1.14 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_120

public final static int

This indicates that level 1.20 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_200

public final static int

This indicates that level 2.00 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_201

public final static int

This indicates that level 2.01 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_210

public final static int

This indicates that level 2.10 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_221

public final static int

This indicates that level 2.21 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_230

public final static int

This indicates that level 2.30 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_320

public final static int

This indicates that level 3.20 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_500

public final static int

This indicates that level 5.00 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_510

public final static int

This indicates that level 5.10 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_520

public final static int

This indicates that level 5.20 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_530

public final static int

This indicates that level 5.30 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_531

public final static int

This indicates that level 5.31 of system control commands are supported by the queue manager.

MQCMDL_LEVEL_600

public final static int

This indicates that level 6.00 of system control commands are supported by the queue manager.

MQCNO_FASTPATH_BINDING

public final static int

This option causes the application and the local-queue-manager agent to be part of the same unit of execution. This is in contrast to the normal method of binding, where the application and the local-queue-manager agent run in separate units of execution.

MQCNO_ISOLATED_BINDING

public final static int

This option causes the application and the local-queue-manager agent (the component that manages queuing operations) to run in separate units of execution (generally, in separate processes). This arrangement maintains the integrity of the queue manager, that is, it protects the queue manager from errant programs. The application process and the local-queue-manager agent are isolated from each other in that they do not share resources.

MQCNO_NONE

public final static int

This field can be specified to aid program documentation when no MQCNO_* options need be specified. It is not intended that this option be used with any other MQCNO_* option, but as its value is zero, such use cannot be detected.

MQCNO_RESTRICT_CONN_TAG_Q_MGR

public final static int

This option indicates that connection tag use is restricted within the queue manager. This connection option is supported on z/OS only. It requests shared use of the connection tag within the local queue manager. If the connection tag is already in use in the local queue manager, the MQCONNX call can succeed provided that the requesting application is running in the same processing scope as the existing user of the tag. If this condition is not satisfied, the MQCONNX call fails with reason code MQRC_CONN_TAG_IN_USE. The outcome of the call is not affected by use of the connection tag elsewhere in the queue-sharing group to which the local queue manager belongs.

On z/OS, applications must run within the same MVS address space in order to share the connection tag.

If the application using the connection tag is a client application, MQCNO_RESTRICT_CONN_TAG_Q_MGR is not allowed.

MQCNO_RESTRICT_CONN_TAG_QSG

public final static int

This option indicates that connection tag use is restricted within the queue-sharing group. This connection option is supported on z/OS only. It requests shared use of the connection tag within the queue-sharing group to which the local queue manager belongs. If the connection tag is already in use in the queue-sharing group, the MQCONNX call can succeed provided that:
the requesting application is running in the same processing scope as the existing user of the tag;
the requesting application is connected to the same queue manager as the existing user of the tag.
If these conditions are not satisfied, the MQCONNX call fails with reason code MQRC_CONN_TAG_IN_USE.

On z/OS, applications must run within the same MVS address space in order to share the connection tag.

If the application using the connection tag is a client application, MQCNO_RESTRICT_CONN_TAG_Q_QSG is not allowed.

MQCNO_SERIALIZE_CONN_TAG_Q_MGR

public final static int

This option indicates that connection tag use is serialized within the queue manager. This connection option is supported on z/OS only. It requests exclusive use of the connection tag within the local queue manager. If the connection tag is already in use in the local queue manager, the MQCONNX call fails with reason code MQRC_CONN_TAG_IN_USE. The outcome of the call is not affected by use of the connection tag elsewhere in the queue-sharing group to which the local queue manager belongs.

MQCNO_SERIALIZE_CONN_TAG_QSG

public final static int

This option indicates that connection tag use is serialized within the queue-sharing group. This connection option is supported on z/OS only. It requests exclusive use of the connection tag within the queue-sharing group to which the local queue manager belongs. If the connection tag is already in use in the queue-sharing group, the MQCONNX call fails with reason code MQRC_CONN_TAG_IN_USE.

MQCNO_SHARED_BINDING

public final static int

This connection option causes the application and the local-queue-manager agent (the component that manages queuing operations) to run in separate units of execution (generally, in separate processes). This arrangement maintains the integrity of the queue manager. That is, it protects the queue manager from errant programs. However some resources are shared between the application and the local-queue-manager agent.

MQCNO_STANDARD_BINDING

public final static int

This connection option causes the application and the local-queue-manager agent (the component that manages queuing operations) to run in separate units of execution (generally, in separate processes). This arrangement maintains the integrity of the queue manager, that is, it protects the queue manager from errant programs.

MQCNO_VERSION_1

public final static int

This defines a version 1 connection options structure.

MQCNO_VERSION_2

public final static int

This defines a version 2 connection options structure.

MQCNO_VERSION_3

public final static int

This defines a version 3 connection options structure.

MQCNO_VERSION_4

public final static int

This defines a version 4 connection options structure.

MQCNO_VERSION_5

public final static int

This defines a version 5 connection options structure.

MQCO_DELETE

public final static int

The queue is deleted if either of the following is true:

In all other cases the call fails with reason code MQRC_OPTION_NOT_VALID_FOR_TYPE, and the object is not deleted.

MQCO_DELETE_PURGE

public final static int

The queue is deleted, and any messages on it purged, if either of the following is true:

In all other cases the call fails with reason code MQRC_OPTION_NOT_VALID_FOR_TYPE, and the object is not deleted.

MQCO_NONE

public final static int

No optional close processing is required. This must be specified for:

MQCOMPRESS_NONE

public final static int

Setting this value specifies that no message or header data compression is to take place. See MESSAGE_COMPRESSION_PROPERTY and HEADER_COMPRESSION_PROPERTY.

MQCOMPRESS_RLE

public final static int

Setting this value specifies that message data compression is to be performed using run-length encoding (RLE) compression. See MESSAGE_COMPRESSION_PROPERTY .

MQCOMPRESS_SYSTEM

public final static int

Setting this value specifies that header data compression is performed using run-length encoding (RLE) compression. See HEADER_COMPRESSION_PROPERTY .

MQCOMPRESS_ZLIBFAST

public final static int

Setting this value specifies that message data compression is performed using ZLIB encoding and with speed of compression prioritized over degree of compression. See MESSAGE_COMPRESSION_PROPERTY.

MQCOMPRESS_ZLIBHIGH

public final static int

Setting this value specifies that message data compression is performed using ZLIB encoding and with degree of compression prioritized over speed of compression. See MESSAGE_COMPRESSION_PROPERTY.

MQCSP_AUTH_NONE

public final static int

This value indicates that MQCSP user ID and password fields are not used by the Object Authority Manager (OAM) to perform authentication on a MQCONNX call. This is the default value.

MQCSP_AUTH_USER_ID_AND_PWD

public final static int

This value indicates that MQCSP user ID and password fields will be used by the Object Authority Manager (OAM) to perform authentication on a MQCONNX call. When this is specified, the MQCSP structure is passed to the OAM Authenticate User function, which can set appropriate identity context fields.

MQCSP_VERSION_1

public final static int

This defines a version 1 connection security parameters structure.

MQCT_NONE

public final static byte[]

MQCT_NONE can be used when no connection tag is required. The value is binary zero for the length of the field.

The connection tag field is only used when connecting to a z/OS queue manager. In other environments, specify the value MQCT_NONE.

MQDL_NOT_SUPPORTED

public final static int

Distribution-list messages cannot be stored on the queue, because the partnering queue manager does not support distribution lists. If an application puts a distribution-list message, and that message is to be placed on this queue, the queue manager splits the distribution-list message and places the individual messages on the queue instead. This increases the amount of processing required to send the message to multiple destinations, but ensures that the messages are processed correctly by the partnering queue manager.

MQDL_SUPPORTED

public final static int

Distribution-list messages can be stored on the queue, and transmitted to the partnering queue manager in that form. This reduces the amount of processing required to send the message to multiple destinations.

MQEI_UNLIMITED

public final static int

This field marks a message as having an unlimited expiration time.

MQENC_DECIMAL_MASK

public final static int

Mask for packed-decimal-integer encoding. This subfield occupies bit positions 24 through 27 within the Encoding field.

MQENC_DECIMAL_NORMAL

public final static int

Packed-decimal integers are represented in the conventional way:

MQENC_DECIMAL_REVERSED

public final static int

Packed-decimal integers are represented in the same way as MQENC_DECIMAL_NORMAL, but with the bytes arranged in reverse order. The bits within each byte are arranged in the same way as MQENC_DECIMAL_NORMAL.

MQENC_DECIMAL_UNDEFINED

public final static int

Packed-decimal integers are represented using an encoding that is undefined.

MQENC_FLOAT_IEEE_NORMAL

public final static int

Floating-point numbers are represented using the standard IEEE3 floating-point format

MQENC_FLOAT_IEEE_REVERSED

public final static int

Floating-point numbers are represented in the same way as MQENC_FLOAT_IEEE_NORMAL, but with the bytes arranged in reverse order. The bits within each byte are arranged in the same way as MQENC_FLOAT_IEEE_NORMAL.

MQENC_FLOAT_MASK

public final static int

Mask for floating-point encoding. This subfield occupies bit positions 20 through 23 within the Encoding field.

MQENC_FLOAT_S390

public final static int

Floating-point numbers are represented using the standard zSeries (System/390) floating-point format. This is also used by System/370.

MQENC_FLOAT_TNS

public final static int

Floating-point numbers are represented using TNSFloat floating-point format. This is for use on Compaq NonStop Kernel applications.

MQENC_FLOAT_UNDEFINED

public final static int

Floating-point numbers are represented using an encoding that is undefined.

MQENC_INTEGER_MASK

public final static int

Mask for binary-integer encoding. This subfield occupies bit positions 28 through 31 within the Encoding field.

MQENC_INTEGER_NORMAL

public final static int

Binary integers are represented in the conventional way:

MQENC_INTEGER_REVERSED

public final static int

Binary integers are represented in the same way as MQENC_INTEGER_NORMAL, but with the bytes arranged in reverse order. The bits within each byte are arranged in the same way as MQENC_INTEGER_NORMAL.

MQENC_INTEGER_UNDEFINED

public final static int

Binary integers are represented using an encoding that is undefined.

MQENC_NATIVE

public final static int

Numbers are encoded using the system encoding. This is the default value

MQENC_RESERVED_MASK

public final static int

Mask for reserved bits. This subfield occupies bit positions 0 through 19 within the Encoding field.

MQFB_ACTIVITY

public final static int

Feedback indicating that an activity was performed on behalf of message.

MQFB_APPL_CANNOT_BE_STARTED

public final static int

Feedback indicating that an application processing a trigger message cannot start the application named in the ApplId field of the trigger message.

MQFB_APPL_FIRST

public final static int

This defines the lowest value for application-defined feedback.

MQFB_APPL_LAST

public final static int

This defines the highest value for application-defined feedback.

MQFB_APPL_TYPE_ERROR

public final static int

Feedback indicating that an application processing a trigger message cannot start the application because the ApplType field of the trigger message is not valid

MQFB_BUFFER_OVERFLOW

public final static int

The feedback codes can be generated by the IMS bridge to indicate that the value of one of the length fields would cause the data to overflow the message buffer.

MQFB_COA

public final static int

Feedback confirming arrival on the destination queue (see MQRO_COA).

MQFB_COD

public final static int

Feedback confirming delivery to the receiving application (see MQRO_COD).

MQFB_DATA_LENGTH_NEGATIVE

public final static int

The feedback codes can be generated by the IMS bridge to indicate that a segment length was negative in the application data of the message.

MQFB_DATA_LENGTH_TOO_BIG

public final static int

The feedback codes can be generated by the IMS bridge to indicate that a segment length too big in the application data of the message.

MQFB_DATA_LENGTH_ZERO

public final static int

The feedback codes can be generated by the IMS bridge to indicate that a segment length was zero in the application data of the message.

MQFB_EXPIRATION

public final static int

Feedback indicating that the message was discarded because it had not been removed from the destination queue before its expiry time had elapsed.

MQFB_IIH_ERROR

public final static int

The feedback codes can be generated by the IMS bridge to indicate that the Format field in MQMD specifies MQFMT_IMS, but the message does not begin with a valid MQIIH structure.

MQFB_LENGTH_OFF_BY_ONE

public final static int

The feedback codes can be generated by the IMS bridge to indicate that the value of one of the length fields was one byte too short.

MQFB_MAX_ACTIVITIES

public final static int

Feedback indicating that a trace-route message was discarded because it was involved in more than the specified maximum number of activities.

MQFB_NAN

public final static int

This is used with a message of type MQMT_REPORT to indicate the nature of the report, and is only meaningful with that type of message. This value indicates a negative action notification.

MQFB_NONE

public final static int

This is used with a message of type report, and indicates no feedback is provided.

MQFB_NOT_DELIVERED

public final static int

Feedback indicating that a trace-route message was discarded because it was about to be delivered to a local queue.

MQFB_NOT_FORWARDED

public final static int

Feedback indicating that a trace-route message was discarded because it was about to be forwarded to a queue manager that is unable to honor the value of the specified forwarding options.

MQFB_PAN

public final static int

This is used with a message of type MQMT_REPORT to indicate the nature of the report, and is only meaningful with that type of message. This value indicates a positive action notification.

MQFB_QUIT

public final static int

Feedback indicating an application ended. This can be used by a workload scheduling program to control the number of instances of an application program that are running. Sending an MQMT_REPORT message with this feedback code to an instance of the application program indicates to that instance that it should stop processing.

Adherence to this convention is a matter for the application; it is not enforced by the queue manager.

MQFB_STOPPED_BY_MSG_EXIT

public final static int

Feedback indicating that a message was stopped by a channel message exit.

MQFB_SYSTEM_FIRST

public final static int

This defines the lowest value for system-generated feedback.

MQFB_SYSTEM_LAST

public final static int

This defines the highest value for system-generated feedback.

MQFB_TM_ERROR

public final static int

Feedback indicating that the Format field in MQMD specifies MQFMT_TRIGGER, but the message does not begin with a valid MQTM structure.

MQFB_UNSUPPORTED_DELIVERY

public final static int

Feedback indicating that a trace-route message was discarded because at least one of the delivery options was not recognized and was in the MQROUTE_DELIVER_REJ_UNSUP_MASK bitmask.

MQFB_UNSUPPORTED_FORWARDING

public final static int

Feedback indicating that a trace-route message was discarded because at least one of the forwarding options was not recognized and was in the MQROUTE_FORWARD_REJ_UNSUP_MASK bitmask.

MQFB_XMIT_Q_MSG_ERROR

public final static int

Feedback indicating that a message channel agent has found that a message on the transmission queue is not in the correct format. The message channel agent puts the message on the dead-letter queue using this feedback code.

MQFMT_ADMIN

public final static java.lang.String

The message is a command-server request or reply message in programmable command format (PCF). Messages of this format can be converted if the MQGMO_CONVERT option is specified on the MQGET call.

MQFMT_CICS

public final static java.lang.String

The message data begins with the CICS information header MQCIH, followed by the application data. The format name of the application data is given by the Format field in the MQCIH structure. On z/OS, specify the MQGMO_CONVERT option on the MQGET call to convert messages that have format MQFMT_CICS.

MQFMT_COMMAND_1

public final static java.lang.String

The message is an MQSC command-server reply message containing the object count, completion code, and reason code. Messages of this format can be converted if the MQGMO_CONVERT option is specified on the MQGET call.

MQFMT_COMMAND_2

public final static java.lang.String

The message is an MQSC command-server reply message containing information about the objects requested. Messages of this format can be converted if the MQGMO_CONVERT option is specified on the MQGET call.

MQFMT_DEAD_LETTER_HEADER

public final static java.lang.String

The message data begins with the dead-letter header MQDLH. The data from the original message immediately follows the MQDLH structure. The format name of the original message data is given by the Format field in the MQDLH structure. Messages of this format can be converted if the MQGMO_CONVERT option is specified on the MQGET call.

MQFMT_DIST_HEADER

public final static java.lang.String

The message data begins with the distribution-list header MQDH; this includes the arrays of MQOR and MQPMR records. The distribution-list header can be followed by additional data. The format of the additional data (if any) is given by the Format field in the MQDH structure.

MQFMT_EVENT

public final static java.lang.String

The message is an MQ event message that reports an event that occurred. Event messages have the same structure as programmable commands.

Version 1 event messages can be converted in all environments if the MQGMO_CONVERT option is specified on the MQGET call. Version 2 event messages can be converted only on z/OS.

MQFMT_IMS

public final static java.lang.String

The message data begins with the IMS information header MQIIH, which is followed by the application data. The format name of the application data is given by the Format field in the MQIIH structure. Specify the MQGMO_CONVERT option on the MQGET call to convert messages that have format MQFMT_IMS.

MQFMT_IMS_VAR_STRING

public final static java.lang.String

The message is an IMS variable string, which is a string of the form llzzccc.

MQFMT_MD_EXTENSION

public final static java.lang.String

The message data begins with the message-descriptor extension MQMDE, and is optionally followed by other data (usually the application message data). The format name, character set, and encoding of the data that follow the MQMDE are given by the Format, CodedCharSetId, and Encoding fields in the MQMDE.

MQFMT_NONE

public final static java.lang.String

The nature of the data is undefined, and the data cannot be converted when the message is retrieved from a queue using the MQGMO_CONVERT option.

MQFMT_PCF

public final static java.lang.String

The message is a user-defined message that conforms to the structure of a programmable command format (PCF) message. Messages of this format can be converted if the MQGMO_CONVERT option is specified on the MQGET call.

MQFMT_REF_MSG_HEADER

public final static java.lang.String

The message data begins with the reference message header MQRMH, and is optionally followed by other data. The format name, character set, and encoding of the data is given by the Format, CodedCharSetId, and Encoding fields in the MQRMH.

MQFMT_RF_HEADER_1

public final static java.lang.String

The message data begins with the rules and formatting header MQRFH, and is optionally followed by other data. The format name, character set, and encoding of the data (if any) are given by the Format, CodedCharSetId, and Encoding fields in the MQRFH. Messages of this format can be converted if the MQGMO_CONVERT option is specified on the MQGET call.

MQFMT_RF_HEADER_2

public final static java.lang.String

The message data begins with the version 2 rules and formatting header MQRFH2, and is optionally followed by other data. The format name, character set, and encoding of the optional data (if any) are given by the Format, CodedCharSetId, and Encoding fields in the MQRFH2. Messages of this format can be converted if the MQGMO_CONVERT option is specified on the MQGET call.

MQFMT_STRING

public final static java.lang.String

The application message data can be either an SBCS string (single-byte character set), or a DBCS string (double-byte character set). Messages of this format can be converted if the MQGMO_CONVERT option is specified on the MQGET call.

MQFMT_TRIGGER

public final static java.lang.String

The message is a trigger message. Messages of this format can be converted if the MQGMO_CONVERT option is specified on the MQGET call.

MQFMT_XMIT_Q_HEADER

public final static java.lang.String

The message data begins with the transmission queue header MQXQH. The data from the original message immediately follows the MQXQH structure. The format name of the original message data is given by the Format field in the MQMD structure, which is part of the transmission queue header MQXQH.

MQGI_NONE

public final static byte[]

No group identifier is specified. The value is binary zero for the length of the field. This is the value that is used for messages that are not in groups, that are not segments of logical messages, and for which segmentation is not allowed.

MQGMO_ACCEPT_TRUNCATED_MSG

public final static int

If the message buffer is too small to hold the complete message, allow the MQGET call to fill the buffer with as much of the message as the buffer can hold.

MQGMO_ALL_MSGS_AVAILABLE

public final static int

Messages in a group become available for retrieval only when all messages in the group are available. If the queue contains message groups with some of the messages missing (perhaps because they have been delayed in the network and have not yet arrived), specifying MQGMO_ALL_MSGS_AVAILABLE prevents retrieval of messages belonging to incomplete groups. However, those messages still contribute to the value of the CurrentQDepth queue attribute; this means that there might be no retrievable message groups, even though CurrentQDepth is greater than zero.

MQGMO_ALL_SEGMENTS_AVAILABLE

public final static int

Segments in a logical message become available for retrieval only when all segments in the logical message are available. If the queue contains segmented messages with some of the segments missing (perhaps because they have been delayed in the network and have not yet arrived), specifying MQGMO_ALL_SEGMENTS_AVAILABLE prevents retrieval of segments belonging to incomplete logical messages. However, those segments still contribute to the value of the CurrentQDepth queue attribute; this means that there might be no retrievable logical messages, even though CurrentQDepth is greater than zero.

MQGMO_BROWSE_FIRST

public final static int

When a queue is opened with the MQOO_BROWSE option, a browse cursor is established, positioned logically before the first message on the queue. You can then use MQGET calls specifying the MQGMO_BROWSE_FIRST, MQGMO_BROWSE_NEXT, or MQGMO_BROWSE_MSG_UNDER_CURSOR option to retrieve messages from the queue nondestructively. The browse cursor marks the position, within the messages on the queue, from which the next MQGET call with MQGMO_BROWSE_NEXT searches for a suitable message.

MQGMO_BROWSE_MSG_UNDER_CURSOR

public final static int

Retrieve the message pointed to by the browse cursor nondestructively, regardless of the MQMO_* options specified in the MatchOptions field in MQGMO.

The message pointed to by the browse cursor is the one that was last retrieved using either the MQGMO_BROWSE_FIRST or the MQGMO_BROWSE_NEXT option. The call fails if neither of these calls have been issued for this queue since it was opened, or if the message that was under the browse cursor has since been retrieved destructively.

The position of the browse cursor is not changed by this call.

MQGMO_BROWSE_NEXT

public final static int

Advance the browse cursor to the next message on the queue that satisfies the selection criteria specified on the MQGET call. The message is returned to the application, but remains on the queue. After a queue has been opened for browse, the first browse call using the handle has the same effect whether it specifies the MQGMO_BROWSE_FIRST or MQGMO_BROWSE_NEXT option.

See WebSphere MQ Application Programming Reference for more information on this parameter.

MQGMO_COMPLETE_MSG

public final static int

Only a complete logical message can be returned by the MQGET call. If the logical message is segmented, the queue manager reassembles the segments and returns the complete logical message to the application; the fact that the logical message was segmented is not apparent to the application retrieving it.

MQGMO_CONVERT

public final static int

Requests the application data to be converted. The conversion conforms to the characterSet and encoding attributes of MQMessage, before the data is copied into the message buffer.

MQGMO_FAIL_IF_QUIESCING

public final static int

Force the MQGET call to fail if the queue manager is in the quiescing state. On z/OS, this option also forces the MQGET call to fail if the connection (for a CICS or IMS application) is in the quiescing state.

MQGMO_LOCK

public final static int

Lock the message that is browsed, so that the message becomes invisible to any other handle open for the queue. The option can be specified only if one of the following options is also specified:

MQGMO_LOGICAL_ORDER

public final static int

This option controls the order in which messages are returned by successive MQGET calls for the queue handle. The option must be specified on each of those calls in order to have an effect.

MQGMO_MARK_SKIP_BACKOUT

public final static int

Back out a unit of work without reinstating on the queue the message that was marked with this option.

When an application requests the backout of a unit of work containing a get request, a message that was retrieved using this option is not restored to its previous state. (Other resource updates, however, are still backed out.) Instead, the message is treated as if it had been retrieved by a get request without this option, in a new unit of work started by the backout request.

MQGMO_MSG_UNDER_CURSOR

public final static int

Retrieve the message pointed to by the browse cursor, regardless of the MQMO_* options specified in the MatchOptions field in MQGMO. The message is removed from the queue. The message pointed to by the browse cursor is the one that was last retrieved using either the MQGMO_BROWSE_FIRST or the MQGMO_BROWSE_NEXT option.

MQGMO_NO_SYNCPOINT

public final static int

The request is to operate outside the normal unit-of-work protocols. The message is deleted from the queue immediately (unless this is a browse request). The message cannot be made available again by backing out the unit of work.

MQGMO_NO_WAIT

public final static int

The application does not wait if no suitable message is available. This is the opposite of the MQGMO_WAIT option, and is defined to aid program documentation. It is the default if neither is specified.

MQGMO_NONE

public final static int

This value indicates that no other options have been specified and all options assume their default values. MQGMO_NONE aids program documentation; it is not intended that this option be used with any other, but as its value is zero, such use cannot be detected.

MQGMO_SYNCPOINT

public final static int

The request is to operate within the normal unit-of-work protocols. The message is marked as being unavailable to other applications, but it is deleted from the queue only when the unit of work is committed. The message is made available again if the unit of work is backed out.

If neither this option nor MQGMO_NO_SYNCPOINT is specified, the inclusion of the get request in unit-of-work protocols is determined by the environment:

MQGMO_SYNCPOINT_IF_PERSISTENT

public final static int

The request is to operate within the normal unit-of-work protocols, but only if the message retrieved is persistent. A persistent message has the value MQPER_PERSISTENT in the Persistence field in MQMD.

If the message is persistent, the queue manager processes the call as though the application had specified MQGMO_SYNCPOINT.

If the message is not persistent, the queue manager processes the call as though the application had specified MQGMO_NO_SYNCPOINT.

MQGMO_UNLOCK

public final static int

Unlock a message. The message to be unlocked must have been previously locked by an MQGET call with the MQGMO_LOCK option. If there is no message locked for this handle, the call completes with MQRC_NO_MSG_LOCKED.

This option is not valid with any options except MQGMO_NO_WAIT and MQGMO_NO_SYNCPOINT. Both of these options are assumed whether specified or not.

MQGMO_VERSION_1

public final static int

This is the version number of the get-message options structure. This value indicates version 1 of the structure.

MQGMO_VERSION_2

public final static int

This is the version number of the get-message options structure. This value indicates version 2 of the structure.

MQGMO_VERSION_3

public final static int

This is the version number of the get-message options structure. This value indicates version 3 of the structure.

MQGMO_WAIT

public final static int

The application waits until a suitable message arrives. The maximum time that the application waits is specified in WaitInterval.

If MQGET requests are inhibited, or MQGET requests become inhibited while waiting, the wait is canceled and the call completes with MQCC_FAILED and reason code MQRC_GET_INHIBITED, regardless of whether there are suitable messages on the queue.

MQGS_LAST_MSG_IN_GROUP

public final static char

This flag indicates that the message retrieved is the last in a group. This is also the value returned if the group consists of only one message.

MQGS_MSG_IN_GROUP

public final static char

This flag indicates that the message retrieved is in a group.

MQGS_NOT_IN_GROUP

public final static char

This flag indicates that the message retrieved is not in a group.

MQIA_ACCOUNTING_CONN_OVERRIDE

public final static int

This integer attribute selector is used with an MQINQ call to determine is applications can override the setting of the ACCTMQI and ACCTQDATA values in the Qmgr attribute. The value is one of MQMON_DISABLED or MQMON_ENABLED. The default is MQMON_DISABLED.

MQIA_ACCOUNTING_INTERVAL

public final static int

This integer attribute selector is used with an MQINQ call to determine how long before intermediate accounting records are written (in seconds). The value is an integer in the range 0 to 604800, with a default value of 1800 (30 minutes). Specify 0 to turn off intermediate records.

MQIA_ACCOUNTING_MQI

public final static int

This integer attribute selector is used with an MQINQ call to determine the collection of accounting information for MQI data. The value is one of MQMON_ON or MQMON_OFF. The default is MQMON_OFF.

MQIA_ACCOUNTING_Q

public final static int

This integer attribute selector is used with an MQINQ call to determine the collection of accounting information for queues. The value is one of MQMON_NONE, MQMON_OFF or MQMON_ON. The default is MQMON_NONE.

MQIA_APPL_TYPE

public final static int

This integer attribute selector is used with an MQINQ call to determine the nature of the program to be started in response to the receipt of a trigger message. This information is for use by a trigger-monitor application that processes messages on the initiation queue. This value will be one of the MQAT_* values.

MQIA_ARCHIVE

public final static int

This integer attribute selector is used with an MQINQ call to determine the way that archiving mode works. This value will be one of MQAR_NONE or MQAR_ALL.

MQIA_AUTH_INFO_TYPE

public final static int

This integer attribute selector is used with an MQINQ call to determine the type of authentication information contained in an AuthInfoRecord. The value will always be MQAIT_CRL_LDAP, indicating that certificate revocation lists are stored on a LDAP server.

MQIA_AUTHORITY_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether authorization (Not Authorized) events are generated. The value is one of MQEVR_DISABLED or MQEVR_ENABLED. For more information about events, see Monitoring WebSphere MQ.

MQIA_BACKOUT_THRESHOLD

public final static int

This integer attribute selector is used with an MQINQ call to determine the backout threshold. Apart from allowing its value to be queried, the queue manager takes no action based on the value of this attribute.

MQIA_CHANNEL_AUTO_DEF

public final static int

This integer attribute selector is used with an MQINQ call to determine the automatic definition of channels of type MQCHT_RECEIVER and MQCHT_SVRCONN. Automatic definition of MQCHT_CLUSSDR channels is always enabled. The value is one of MQCHAD_DISABLED or MQCHAD_ENABLED.

MQIA_CHANNEL_AUTO_DEF_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether channel automatic-definition events are generated. It applies to channels of type MQCHT_RECEIVER, MQCHT_SVRCONN, and MQCHT_CLUSSDR. The value is one of MQEVR_DISABLED or MQEVR_ENABLED.

MQIA_CHANNEL_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether channel events are generated. The value is one of MQEVR_EXCEPTION, MQEVR_ENABLED or MQEVR_DISABLED. The default is MQEVR_DISABLED.

MQIA_CLUSTER_Q_TYPE

public final static int

This integer attribute selector is used with an MQINQ call to determine the cluster queue type.

MQIA_CLUSTER_WORKLOAD_LENGTH

public final static int

This integer attribute selector is used with an MQINQ call to determine the maximum length of message data that is passed to the cluster workload exit.

MQIA_CLWL_MRU_CHANNELS

public final static int

This integer attribute selector is used with an MQINQ call to determine the maximum number of allowed active outbound channels that are not allowed.

MQIA_CLWL_Q_PRIORITY

public final static int

This integer attribute selector is used with an MQINQ call to determine the priority of a queue for cluster workload management purposes.

MQIA_CLWL_Q_RANK

public final static int

This integer attribute selector is used with an MQINQ call to determine the rank of a queue for cluster workload management purposes.

MQIA_CLWL_USE_REMOTE_Q

public final static int

This integer attribute selector is used with an MQINQ call to determine the behavior of a put when the target queue has both a local instance and at least one remote cluster instance. This value will be one of MQQF_CLWL_USEQ_ANY or MQQF_CLWL_USEQ_LOCAL.

MQIA_CODED_CHAR_SET_ID

public final static int

This integer attribute selector is used with an MQINQ call to determine the character set used by the queue manager for all character string fields. The character set must be one that has single-byte characters for the characters that are valid in object names. It does not apply to application data carried in the message. The value depends on the environment.

MQIA_COMMAND_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether command events are generated. The value is one of MQEVR_DISABLED, MQEVR_ENABLED or MQEVR_NO_DISPLAY. The default is MQEVR_DISABLED.

MQIA_COMMAND_LEVEL

public final static int

This integer attribute selector is used with an MQINQ call to determine the level of system control commands supported by the queue manager. The value is one of the MQCMDL_LEVEL_* values.

MQIA_CONFIGURATION_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether configuration events are generated.

MQIA_CURRENT_Q_DEPTH

public final static int

This integer attribute selector is used with an MQINQ call to determine the number of messages currently on the queue. It is incremented during an MQPUT call, and during backout of an MQGET call. It is decremented during a non-browsing MQGET call, and during backout of an MQPUT call.

MQIA_DEF_BIND

public final static int

This integer attribute selector is used with an MQINQ call to determine the default binding that is used when MQOO_BIND_AS_Q_DEF is specified on the MQOPEN call and the queue is a cluster queue. The value is one MQBND_BIND_ON_OPEN or MQBND_BIND_NOT_FIXED.

MQIA_DEF_INPUT_OPEN_OPTION

public final static int

This integer attribute selector is used with an MQINQ call to determine the default way in which to open the queue for input. It applies if the MQOO_INPUT_AS_Q_DEF option is specified on the MQOPEN call when the queue is opened. The value is one of MQOO_INPUT_EXCLUSIVE or MQOO_INPUT_SHARED.

MQIA_DEF_PERSISTENCE

public final static int

This integer attribute selector is used with an MQINQ call to determine the default persistence of messages on the queue. It applies if MQPER_PERSISTENCE_AS_Q_DEF is specified in the message descriptor when the message is put. The value is one of MQPER_PERSISTENT or MQPER_NON_PERSISTENT.

MQIA_DEF_PRIORITY

public final static int

This integer attribute selector is used with an MQINQ call to determine the default priority for messages on the queue. This applies if MQPRI_PRIORITY_AS_Q_DEF is specified in the message descriptor when the message is put on the queue.

MQIA_DEFINITION_TYPE

public final static int

This integer attribute selector is used with an MQINQ call to determine how the queue was defined. The value is one of MQQDT_PREDEFINED, MQQDT_PERMANENT_DYNAMIC, MQQDT_TEMPORARY_DYNAMIC or MQQDT_SHARED_DYNAMIC.

MQIA_DIST_LISTS

public final static int

This integer attribute selector is used with an MQINQ call to determine whether distribution-list messages can be placed on the queue. The value is one of MQDL_SUPPORTED or MQDL_NOT_SUPPORTED.

MQIA_EXPIRY_INTERVAL

public final static int

This integer attribute selector is used with an MQINQ call to determine the interval between scans for expired messages. It is either a time interval (in seconds) in the range 1 to 99,999,999, or the special value MQEXPI_OFF to indicate that the queue manager does not scan the queues looking for expired messages.

MQIA_FIRST

public final static int

This defines the start of the range of valid integer attribute selectors. The integer and character attribute selectors are allocated within two different ranges, with MQIA_* selectors within the range MQIA_FIRST through MQIA_LAST.

MQIA_HARDEN_GET_BACKOUT

public final static int

This integer attribute selector is used with an MQINQ call to determine if hardening is used to ensure that the backout count for messages on this queue is accurate. The values is one of MQQA_BACKOUT_HARDENED or MQQA_BACKOUT_NOT_HARDENED. The default is MQQA_BACKOUT_NOT_HARDENED.

MQIA_HIGH_Q_DEPTH

public final static int

This integer attribute selector is used with an MQINQ call to determine the maximum number of messages on the queue since the queue statistics were last reset.

MQIA_IGQ_PUT_AUTHORITY

public final static int

This integer attribute selector is used with an MQINQ call to determine the type of authority checking that is performed when the local intra-group queuing agent (IGQ agent) removes a message from the shared transmission queue and places the message on a local queue. It applies only if the local queue manager is a member of a queue-sharing group. The value is one of MQIGQPA_DEFAULT, MQIGQPA_CONTEXT, MQIGQPA_ONLY_IGQ or MQIGQPA_ALTERNATE_OR_IGQ.

MQIA_INDEX_TYPE

public final static int

This integer attribute selector is used with an MQINQ call to determine the type of index that the queue manager maintains for messages on the queue. The type of index required depends on how the application retrieves messages, and whether the queue is a shared queue or a nonshared queue.

MQIA_INHIBIT_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether inhibit (Inhibit Get and Inhibit Put) events are generated. The value is one of MQEVR_DISABLED or MQEVR_ENABLED. On z/OS, you cannot use the MQINQ call to determine the value of this attribute.

MQIA_INHIBIT_GET

public final static int

This integer attribute selector is used with an MQINQ call to determine whether get operations for this queue are allowed. If the queue is an alias queue, get operations must be allowed for both the alias and the base queue at the time of the get operation, for the MQGET call to succeed. The value is one of MQQA_GET_INHIBITED or MQQA_GET_ALLOWED.

MQIA_INHIBIT_PUT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether put operations for this queue are allowed. If there is more than one definition in the queue-name resolution path, put operations must be allowed for every definition in the path (including any queue-manager alias definitions) at the time of the put operation. The value is one of MQQA_PUT_INHIBITED or MQQA_PUT_ALLOWED.

MQIA_INTRA_GROUP_QUEUING

public final static int

This integer attribute selector is used with an MQINQ call to determine whether intra-group queuing is enabled for the queue-sharing group. This attribute applies only if the local queue manager is a member of a queue-sharing group, and is supported only on z/OS. The value is one of MQIGQ_DISABLED or MQIGQ_ENABLED.

MQIA_LAST

public final static int

This defines the end of the range of valid integer attribute selectors. The integer and character attribute selectors are allocated within two different ranges, with MQIA_* selectors within the range MQIA_FIRST through MQIA_LAST.

MQIA_LAST_USED

public final static int

This defines the highest value in the range of valid integer attribute selectors that the queue manager will accept.

MQIA_LOCAL_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether local error events are generated. The value is one of MQEVR_DISABLED or MQEVR_ENABLED. The default is MQEVR_DISABLED.

MQIA_MAX_HANDLES

public final static int

This integer attribute selector is used with an MQINQ call to determine the maximum number of open handles that any one task can use concurrently. Each successful MQOPEN call for a single queue (or for an object that is not a queue) uses one handle. That handle becomes available for reuse when the object is closed.

The value is in the range 1 to 999,999,999. The default value is determined by the environment. On z/OS, the default value is 100. In all other environments, the default value is 256.

MQIA_MAX_MSG_LENGTH

public final static int

This integer attribute selector is used with an MQINQ call to determine the length of the longest physical message that the queue manager can handle. However, because the MaxMsgLength queue-manager attribute can be set independently of the MaxMsgLength queue attribute, the longest physical message that can be placed on a queue is the lesser of those two values.

The lower limit for the MaxMsgLength attribute is 32 KB (32 768 bytes). The upper limit is 100 MB (104 857 600 bytes).

MQIA_MAX_PRIORITY

public final static int

This integer attribute selector is used with an MQINQ call to determine the maximum message priority supported by the queue manager. Priorities range from zero (lowest) to MaxPriority (highest).

MQIA_MAX_Q_DEPTH

public final static int

This integer attribute selector is used with an MQINQ call to determine the defined upper limit for the number of physical messages that can exist on the queue at any one time. An attempt to put a message on a queue that already contains MaxQDepth messages fails with reason code MQRC_Q_FULL.

The value of this attribute is zero or greater. The upper limit is determined by the environment. On AIX, HP-UX, z/OS, Solaris, Linux, and Windows, the value cannot exceed 999,999,999. On i5/OS, the value cannot exceed 640 000.

MQIA_MAX_UNCOMMITTED_MSGS

public final static int

This integer attribute selector is used with an MQINQ call to determine the maximum number of uncommitted messages that can exist within a unit of work.

MQIA_MSG_DELIVERY_SEQUENCE

public final static int

This integer attribute selector is used with an MQINQ call to determine the order in which the MQGET call returns messages to the application. It can be either MQMDS_FIFO (messages are returned in first in, first out order) or MQMDS_PRIORITY (higher priority messages are returned first).

MQIA_MSG_DEQ_COUNT

public final static int

This integer attribute selector is used with an MQINQ call to determine the number of messages that were removed from the queue since the queue statistics were last reset.

MQIA_MSG_ENQ_COUNT

public final static int

This integer attribute selector is used with an MQINQ call to determine the number of messages that were put on the queue since the queue statistics were last reset.

MQIA_NAME_COUNT

public final static int

This integer attribute selector is used with an MQINQ call to determine the number of names in the namelist. It is greater than or equal to zero. MQNC_MAX_NAMELIST_NAME_COUNT defines the maximum number of names in a namelist.

MQIA_NAMELIST_TYPE

public final static int

This integer attribute selector is used with an MQINQ call to determine the nature of the names in the namelist, and indicates how the namelist is used. The value is one of MQNT_NONE, MQNT_Q, MQNT_CLUSTER or MQNT_AUTH_INFO. This attribute is supported only on z/OS.

MQIA_NPM_CLASS

public final static int

This integer attribute selector is used with an MQINQ call to determine the reliability goal for nonpersistent messages. This specifies the circumstances under which nonpersistent messages put on this queue are discarded. The value is one of MQNPM_CLASS_NORMAL or MQNPM_CLASS_HIGH.

MQIA_OPEN_INPUT_COUNT

public final static int

This integer attribute selector is used with an MQINQ call to determine the number of handles that are currently valid for removing messages from the queue by means of the MQGET call. It is the total number of such handles known to the local queue manager. If the queue is a shared queue, the count does not include opens for input that were performed for the queue at other queue managers in the queue-sharing group to which the local queue manager belongs.

MQIA_OPEN_OUTPUT_COUNT

public final static int

This integer attribute selector is used with an MQINQ call to determine the number of handles that are currently valid for adding messages to the queue by means of the MQPUT call. It is the total number of such handles known to the local queue manager; it does not include opens for output that were performed for this queue at remote queue managers. If the queue is a shared queue, the count does not include opens for output that were performed for the queue at other queue managers in the queue-sharing group to which the local queue manager belongs.

MQIA_PERFORMANCE_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether performance-related events are generated. The value is one of MQEVR_DISABLED or MQEVR_ENABLED. On z/OS, you cannot use the MQINQ call to determine the value of this attribute.

MQIA_PLATFORM

public final static int

This integer attribute selector is used with an MQINQ call to determine the operating system on which the queue manager is running. The value will be one of the MQPL_* values.

MQIA_Q_DEPTH_HIGH_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether Queue Depth High events are generated. A Queue Depth High event indicates that an application has put a message on a queue, and this has caused the number of messages on the queue to become greater than or equal to the queue depth high threshold. The value is one of MQEVR_DISABLED or MQEVR_ENABLED.

MQIA_Q_DEPTH_HIGH_LIMIT

public final static int

This integer attribute selector is used with an MQINQ call to determine the threshold against which the queue depth is compared to generate a Queue Depth High event. This event indicates that an application has put a message on a queue, and that this has caused the number of messages on the queue to become greater than or equal to the queue depth high threshold.

MQIA_Q_DEPTH_LOW_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether Queue Depth Low events are generated. A Queue Depth Low event indicates that an application has removed a message from a queue, and this has caused the number of messages on the queue to become less than or equal to the queue depth low threshold. The value is one of MQEVR_DISABLED or MQEVR_ENABLED.

MQIA_Q_DEPTH_LOW_LIMIT

public final static int

This integer attribute selector is used with an MQINQ call to determine the threshold against which the queue depth is compared to generate a Queue Depth Low event. This event indicates that an application has removed a message from a queue, and that this has caused the number of messages on the queue to become less than or equal to the queue depth low threshold.

MQIA_Q_DEPTH_MAX_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether Queue Full events are generated. A Queue Full event indicates that a put to a queue has been rejected because the queue is full, that is, the queue depth has already reached its maximum value. The value is one of MQEVR_DISABLED or MQEVR_ENABLED.

MQIA_Q_SERVICE_INTERVAL

public final static int

This integer attribute selector is used with an MQINQ call to determine the service interval used for comparison to generate Service Interval High and Service Interval OK events. The interval is set in milliseconds, and its value is not less than zero and not greater than 999,999,999.

MQIA_Q_SERVICE_INTERVAL_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether Service Interval High or Service Interval OK events are generated. This value is one of MQQSIE_HIGH, MQQSIE_OK or MQQSIE_NONE.

MQIA_Q_TYPE

public final static int

This integer attribute selector is used with an MQINQ call to determine the type of queue. It has one of the following values: MQQT_ALIAS, MQQT_CLUSTER, MQQT_LOCAL or MQQT_REMOTE.

MQIA_QSG_DISP

public final static int

This integer attribute selector is used with an MQINQ call to determine the disposition of the queue. The value is one of MQQSGD_Q_MGR, MQQSGD_COPY or MQQSGD_SHARED. This attribute is only supported on z/OS.

MQIA_REMOTE_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether remote error events are generated. The value is one of MQEVR_DISABLED or MQEVR_ENABLED.

MQIA_RETENTION_INTERVAL

public final static int

This integer attribute selector is used with an MQINQ call to determine the period of time for which to retain the queue. After this time has elapsed, the queue is eligible for deletion. The time is measured in hours, counting from the date and time when the queue was created. This information is provided to enable a housekeeping application or the operator to identify and delete queues that are no longer required.

MQIA_SCOPE

public final static int

This integer attribute selector is used with an MQINQ call to determine whether an entry for this queue also exists in a cell directory. A cell directory is provided by an installable Name service. The value is one of MQSCO_Q_MGR or MQSCO_CELL.

MQIA_SHAREABILITY

public final static int

This integer attribute selector is used with an MQINQ call to determine whether the queue can be opened for input multiple times concurrently. The value is one of MQQA_SHAREABLE or MQQA_NOT_SHAREABLE.

MQIA_SSL_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether SSL events are generated. The value is one of MQEVR_DISABLED or MQEVR_ENABLED.

MQIA_SSL_FIPS_REQUIRED

public final static int

This integer attribute selector is used with an MQINQ call to determine if only FIPS-certified algorithms are to be used if the cryptography is executed in WebSphere MQ-provided software. The value is one of MQSSL_FIPS_NO or MQSSL_FIPS_YES. The default is MQSSL_FIPS_NO.

MQIA_SSL_RESET_COUNT

public final static int

This integer attribute selector is used with an MQINQ call to determine when SSL channel message channel agents (MCAs) that initiate communication reset the secret key used for encryption on the channel. The value represents the total number of unencrypted bytes that are sent and received on the channel before the secret key is renegotiated. The number of bytes includes control information sent by the MCA.

The value is a number between 0 and 999,999,999, with a default value of 0.

MQIA_SSL_TASKS

public final static int

This integer attribute selector is used with an MQINQ call to determine the number of server subtasks for processing SSL calls.

MQIA_START_STOP_EVENT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether start and stop events are generated. The value is one of MQEVR_DISABLED or MQEVR_ENABLED.

MQIA_STATISTICS_AUTO_CLUSSDR

public final static int

This integer attribute selector is used with an MQINQ call to determine whether to collect online monitoring data for auto-defined cluster sender channels. The value is one of MQMON_Q_MGR, MQMON_OFF, MQMON_LOW, MQMON_MEDIUM or MQMON_HIGH. The default is MQMON_Q_MGR.

MQIA_STATISTICS_CHANNEL

public final static int

This integer attribute selector is used with an MQINQ call to determine the collection of statistics data for channels. The value is one of MQMON_NONE, MQMON_OFF, MQMON_LOW, MQMON_MEDIUM or MQMON_HIGH. The default is MQMON_NONE.

MQIA_STATISTICS_INTERVAL

public final static int

This integer attribute selector is used with an MQINQ call to determine how often (in seconds) to write statistics monitoring data to the monitoring queue. The value is an integer in the range 0 to 604800, with a default value of 1800 (30 minutes).

MQIA_STATISTICS_MQI

public final static int

This integer attribute selector is used with an MQINQ call to determine the collection of statistics monitoring information for the queue manager. The value is one of MQMON_ON or MQMON_OFF. The default is MQMON_OFF.

MQIA_STATISTICS_Q

public final static int

This integer attribute selector is used with an MQINQ call to determine the collection of statistics data for queues. The value is one of MQMON_NONE, MQMON_OFF or MQMON_ON. The default is MQMON_NONE.

MQIA_SYNCPOINT

public final static int

This integer attribute selector is used with an MQINQ call to determine whether the local queue manager supports units of work and syncpointing with the MQGET, MQPUT, and MQPUT1 calls. The value is one of MQSP_AVAILABLE or MQSP_NOT_AVAILABLE.

MQIA_TIME_SINCE_RESET

public final static int

This integer attribute selector is used with an MQINQ call to determine the time, in seconds, since the statistics were last reset. The value recorded by this timer is also used as the interval time in queue service interval events.

MQIA_TRACE_ROUTE_RECORDING

public final static int

This integer attribute selector is used with an MQINQ call to determine the recording of trace route information. The value is one of MQROUTE_DISABLED, MQROUTE_RECORDING_Q or MQROUTE_RECORDING_MSG.

MQIA_TRIGGER_CONTROL

public final static int

This integer attribute selector is used with an MQINQ call to determine whether trigger messages are written to an initiation queue to start an application to service the queue. This is one of MQTC_OFF or MQTC_ON.

MQIA_TRIGGER_DEPTH

public final static int

This integer attribute selector is used with an MQINQ call to determine the number of messages of priority TriggerMsgPriority or greater that must be on the queue before a trigger message is written. This applies when TriggerType is set to MQTT_DEPTH. The value of TriggerDepth is 1 or greater.

MQIA_TRIGGER_INTERVAL

public final static int

This integer attribute selector is used with an MQINQ call to determine a time interval (in milliseconds) used to restrict the number of trigger messages. This is relevant only when the TriggerType is MQTT_FIRST. In this case trigger messages are usually generated only when a suitable message arrives on the queue, and the queue was previously empty. Under certain circumstances, however, an additional trigger message can be generated with MQTT_FIRST triggering even if the queue was not empty. These additional trigger messages are not generated more often than every TriggerInterval milliseconds.

The value is not less than 0 and not greater than 999,999,999. The default value is 999,999,999.

MQIA_TRIGGER_MSG_PRIORITY

public final static int

This integer attribute selector is used with an MQINQ call to determine the message priority below which messages do not contribute to the generation of trigger messages (that is, the queue manager ignores these messages when deciding whether to generate a trigger message). TriggerMsgPriority can be in the range zero (lowest) to MaxPriority. A value of zero causes all messages to contribute to the generation of trigger messages.

MQIA_TRIGGER_TYPE

public final static int

This integer attribute selector is used with an MQINQ call to determine the conditions under which trigger messages are written as a result of messages arriving on this queue. The value is one of MQTT_NONE, MQTT_FIRST, MQTT_EVERY or MQTT_DEPTH.

MQIA_USAGE

public final static int

This integer attribute selector is used with an MQINQ call to determine what the queue is used for. The value is one of MQUS_NORMAL or MQUS_TRANSMISSION.

MQIAV_NOT_APPLICABLE

public final static int

This indicates that an integer attribute (IntAttrs) value is not applicable.

MQIAV_UNDEFINED

public final static int

This indicates that an integer attribute (IntAttrs) value is undefined.

MQMD_VERSION_1

public final static int

This is the message descriptor structure version number. This value indicates version 1 of the structure.

MQMD_VERSION_2

public final static int

This is the message descriptor structure version number. This value indicates version 2 of the structure.

MQMDS_FIFO

public final static int

This determines the order in which the MQGET call returns messages to the application. With this option, messages are returned in FIFO order (first in, first out). An MQGET call returns the first message that satisfies the selection criteria specified on the call, regardless of the priority of the message.

MQMDS_PRIORITY

public final static int

This determines the order in which the MQGET call returns messages to the application. Messages are returned in priority order. An MQGET call returns the highest-priority message that satisfies the selection criteria specified on the call. Within each priority level, messages are returned in FIFO order (first in, first out).

MQMF_ACCEPT_UNSUP_IF_XMIT_MASK

public final static int

This mask identifies the bit positions within the MsgFlags field where message flags that are not supported by the local queue manager are nevertheless accepted on the MQPUT or MQPUT1 calls provided that both of the following conditions are satisfied:

This subfield occupies bit positions 12 through 19.

MQMF_ACCEPT_UNSUP_MASK

public final static int

This mask identifies the bit positions within the MsgFlags field where message flags that are not supported by the local queue manager are nevertheless accepted on the MQPUT or MQPUT1 calls.

This subfield occupies bit positions 0 through 11.

MQMF_LAST_MSG_IN_GROUP

public final static int

Message is the last logical message in a group. If this flag is set, the queue manager turns on MQMF_MSG_IN_GROUP in the copy of MQMD that is sent with the message, but does not alter the settings of these flags in the MQMD provided by the application on the MQPUT or MQPUT1 call.

MQMF_LAST_SEGMENT

public final static int

Message is the last segment of a logical message. If this flag is set, the queue manager turns on MQMF_SEGMENT in the copy of MQMD that is sent with the message, but does not alter the settings of these flags in the MQMD provided by the application on the MQPUT or MQPUT1 call.

MQMF_MSG_IN_GROUP

public final static int

Indicates that the message is a member of a group.

MQMF_NONE

public final static int

No message flags (default message attributes). This inhibits segmentation, and indicates that the message is not in a group and is not a segment of a logical message. MQMF_NONE is defined to aid program documentation. It is not intended that this flag be used with any other, but as its value is zero, such use cannot be detected.

MQMF_REJECT_UNSUP_MASK

public final static int

This mask identifies the bit positions within the MsgFlags field where message flags that are not supported by the local queue manager cause the MQPUT or MQPUT1 call to fail with completion code MQCC_FAILED and reason code MQRC_MSG_FLAGS_ERROR.

This subfield occupies bit positions 20 through 31.

MQMF_SEGMENT

public final static int

Message is a segment of a logical message. When MQMF_SEGMENT is specified without MQMF_LAST_SEGMENT, the length of the application message data in the segment (excluding the lengths of any MQ header structures that might be present) must be at least one. If the length is zero, the MQPUT or MQPUT1 call fails with reason code MQRC_SEGMENT_LENGTH_ZERO.

MQMF_SEGMENTATION_ALLOWED

public final static int

This option allows the message to be broken into segments by the queue manager. If specified for a message that is already a segment, this option allows the segment to be broken into smaller segments. MQMF_SEGMENTATION_ALLOWED can be set without either MQMF_SEGMENT or MQMF_LAST_SEGMENT being set.

MQMF_SEGMENTATION_INHIBITED

public final static int

This option prevents the message being broken into segments by the queue manager. If specified for a message that is already a segment, this option prevents the segment being broken into smaller segments.

The value of this flag is binary zero. This is the default.

MQMI_NONE

public final static byte[]

No message identifier is specified. The value is binary zero for the length of the field.

MQMO_MATCH_CORREL_ID

public final static int

The message to be retrieved must have a correlation identifier that matches the value of the CorrelId field in the MsgDesc parameter of the MQGET call. This match is in addition to any other matches that might apply (for example, the message identifier).

If you omit this option, the CorrelId field in the MsgDesc parameter is ignored, and any correlation identifier will match.

MQMO_MATCH_GROUP_ID

public final static int

The message to be retrieved must have a group identifier that matches the value of the GroupId field in the MsgDesc parameter of the MQGET call. This match is in addition to any other matches that might apply (for example, the correlation identifier).

If you omit this option, the GroupId field in the MsgDesc parameter is ignored, and any group identifier will match.

MQMO_MATCH_MSG_ID

public final static int

The message to be retrieved must have a message identifier that matches the value of the MsgId field in the MsgDesc parameter of the MQGET call. This match is in addition to any other matches that might apply (for example, the correlation identifier).

If you omit this option, the MsgId field in the MsgDesc parameter is ignored, and any message identifier will match.

MQMO_MATCH_MSG_SEQ_NUMBER

public final static int

The message to be retrieved must have a message sequence number that matches the value of the MsgSeqNumber field in the MsgDesc parameter of MQGMO the MQGET call. This match is in addition to any other matches that might apply (for example, the group identifier).

If you omit this option, the MsgSeqNumber field in the MsgDesc parameter is ignored, and any message sequence number will match.

MQMO_MATCH_MSG_TOKEN

public final static int

The message to be retrieved must have a message token that matches the value of the MsgToken field in the MQGMO structure specified on the MQGET call.

If you omit this option, the MsgToken field in MQGMO is ignored, and any message token will match.

MQMO_MATCH_OFFSET

public final static int

The message to be retrieved must have an offset that matches the value of the Offset field in the MsgDesc parameter of the MQGET call. This match is in addition to any other matches that might apply (for example, the message sequence number).

If you omit this option or it is not specified, the Offset field in the MsgDesc parameter is ignored, and any offset will match.

MQMO_NONE

public final static int

Do not use matches in selecting the message to be returned. All messages on the queue are eligible for retrieval. MQMO_NONE aids program documentation. It is not intended that this option be used with any other MQMO_* option, but as its value is zero, such use cannot be detected.

MQMT_APPL_FIRST

public final static int

This defines the lowest value for application-defined message types.

MQMT_APPL_LAST

public final static int

This defines the highest value for application-defined message types.

MQMT_DATAGRAM

public final static int

The message is one that does not require a reply.

MQMT_REPLY

public final static int

The message is the reply to an earlier request message (MQMT_REQUEST). The message must be sent to the queue indicated by the ReplyToQ field of the request message. Use the Report field of the request to control how to set the MsgId and CorrelId of the reply.

Note: The queue manager does not enforce the request-reply relationship; this is an application responsibility.

MQMT_REPORT

public final static int

The message is reporting on an expected or unexpected occurrence, usually related to another message. For example, a request message was received that contained data that was not valid. Send the message to the queue indicated by the ReplyToQ field of the message descriptor of the original message. Set the Feedback fields to indicate the nature of the report. Use the Report field of the original message to control how to set the MsgId and CorrelId of the report message.

Report messages generated by the queue manager or message channel agent are always sent to the ReplyToQ queue, with the Feedback and CorrelId fields set.

MQMT_REQUEST

public final static int

The message is one that requires a reply. Specify the name of the queue to which to send the reply in the ReplyToQ field. The Report field indicates how to set the MsgId and CorrelId of the reply.

MQMT_SYSTEM_FIRST

public final static int

This defines the lowest value for system-defined message types.

MQMT_SYSTEM_LAST

public final static int

This defines the highest value for system-defined message types.

MQMTOK_NONE

public final static byte[]

No message token is specified. The value is binary zero for the length of the field.

MQOL_UNDEFINED

public final static int

Original length of message is not defined. This field is relevant only for report messages that are segments. It specifies the length of the message segment to which the report message relates; it does not specify the length of the logical message of which the segment forms part, or the length of the data in the report message.

MQOO_ALTERNATE_USER_AUTHORITY

public final static int

The AlternateUserId field in the ObjDesc parameter contains a user identifier to use to validate this MQOPEN call. The call can succeed only if this AlternateUserId is authorized to open the object with the specified access options, regardless of whether the user identifier under which the application is running is authorized to do so.

This option is valid for all types of object.

MQOO_BIND_AS_Q_DEF

public final static int

The local queue manager binds the queue handle in the way defined by the DefBind queue attribute. The value of this attribute is either MQBND_BIND_ON_OPEN or MQBND_BIND_NOT_FIXED.

MQOO_BIND_AS_Q_DEF is the default if neither MQOO_BIND_ON_OPEN nor MQOO_BIND_NOT_FIXED is specified.

MQOO_BIND_NOT_FIXED

public final static int

This stops the local queue manager binding the queue handle to a particular instance of the destination queue. As a result, successive MQPUT calls using this handle send the messages to different instances of the destination queue, or to the same instance but by different routes. It also allows the instance selected to be changed subsequently by the local queue manager, by a remote queue manager, or by a message channel agent (MCA), according to network conditions.

MQOO_BIND_ON_OPEN

public final static int

The local queue manager binds the queue handle to a particular instance of the destination queue when the queue is opened. As a result, all messages put using this handle are sent to the same instance of the destination queue, and by the same route.

This option is valid only for queues, and affects only cluster queues. If specified for a queue that is not a cluster queue, the option is ignored.

MQOO_BROWSE

public final static int

Open the queue to browse messages. The queue is opened for use with subsequent MQGET calls with one of the following options: MQGMO_BROWSE_FIRST, MQGMO_BROWSE_NEXT and MQGMO_BROWSE_MSG_UNDER_CURSOR. This is allowed even if the queue is currently open for MQOO_INPUT_EXCLUSIVE. An MQOPEN call with the MQOO_BROWSE option establishes a browse cursor, and positions it logically before the first message on the queue.

MQOO_FAIL_IF_QUIESCING

public final static int

The MQOPEN call fails if the queue manager is in quiescing state. This option is valid for all types of object.

MQOO_INPUT_AS_Q_DEF

public final static int

Open the queue to get messages using the queue-defined default. The queue is opened for use with subsequent MQGET calls. The type of access is either shared or exclusive, depending on the value of the DefInputOpenOption queue attribute.

MQOO_INPUT_EXCLUSIVE

public final static int

Open the queue to get messages with exclusive access. The queue is opened for use with subsequent MQGET calls. The call fails with reason code MQRC_OBJECT_IN_USE if the queue is currently open by this or another application for input of any type.

MQOO_INPUT_SHARED

public final static int

Open the queue to get messages with shared access. The queue is opened for use with subsequent MQGET calls. The call can succeed if the queue is currently open by this or another application with MQOO_INPUT_SHARED, but fails with reason code MQRC_OBJECT_IN_USE if the queue is currently open with MQOO_INPUT_EXCLUSIVE.

MQOO_INQUIRE

public final static int

Open the object to query attributes. The queue, namelist, process definition, or queue manager is opened for use with subsequent MQINQ calls. This option is valid for all types of object other than distribution lists. It is not valid if ObjectQMgrName is the name of a queue manager alias; this is true even if the value of the RemoteQMgrName attribute in the local definition of a remote queue used for queue-manager aliasing is the name of the local queue manager.

MQOO_OUTPUT

public final static int

Open the queue to put messages. The queue is opened for use with subsequent MQPUT calls.

An MQOPEN call with this option can succeed even if the InhibitPut queue attribute is set to MQQA_PUT_INHIBITED (although subsequent MQPUT calls will fail while the attribute is set to this value). This option is valid for all types of queue, including distribution lists.

MQOO_PASS_ALL_CONTEXT

public final static int

This allows the MQPMO_PASS_ALL_CONTEXT option to be specified in the PutMsgOpts parameter when a message is put on a queue. This gives the message the identity and origin context information from an input queue that was opened with the MQOO_SAVE_ALL_CONTEXT option. This option implies MQOO_PASS_IDENTITY_CONTEXT, which need not therefore be specified. The MQOO_OUTPUT option must be specified. For more information on message context, see WebSphere MQ Application Programming Guide.

This option is valid for all types of queue, including distribution lists.

MQOO_PASS_IDENTITY_CONTEXT

public final static int

This allows the MQPMO_PASS_IDENTITY_CONTEXT option to be specified in the PutMsgOpts parameter when a message is put on a queue. This gives the message the identity context information from an input queue that was opened with the MQOO_SAVE_ALL_CONTEXT option. The MQOO_OUTPUT option must be specified. For more information on message context, see WebSphere MQ Application Programming Guide.

This option is valid for all types of queue, including distribution lists.

MQOO_RESOLVE_LOCAL_Q

public final static int

Fill the ResolvedQName in the MQOD structure with the name of the local queue that was opened. Similarly, the ResolvedQMgrName is filled with the name of the local queue manager hosting the local queue.

MQOO_RESOLVE_LOCAL_QUEUE

public final static int

Deprecated

use MQC.MQOO_RESOLVE_LOCAL_Q instead.

MQOO_SAVE_ALL_CONTEXT

public final static int

Context information is associated with this queue handle. This information is set from the context of any message retrieved using this handle. For more information on message context, see WebSphere MQ Application Programming Guide.

This option is valid only for local, alias, and model queues; it is not valid for remote queues, distribution lists, and objects that are not queues.

MQOO_SET

public final static int

Open the queue to set attributes. The queue is opened for use with subsequent MQSET calls. This option is valid for all types of object other than distribution lists. It is not valid if ObjectQMgrName is the name of a queue manager alias; this is true even if the value of the RemoteQMgrName attribute in the local definition of a remote queue used for queue-manager aliasing is the name of the local queue manager.

MQOO_SET_ALL_CONTEXT

public final static int

This allows the MQPMO_SET_ALL_CONTEXT option to be specified in the PutMsgOpts parameter when a message is put on a queue. This gives the message the identity and origin context information contained in the MsgDesc parameter specified on the MQPUT or MQPUT1() call. The MQOO_OUTPUT option must be specified. For more information on message context, see WebSphere MQ Application Programming Guide.

This option is valid for all types of queue, including distribution lists.

MQOO_SET_IDENTITY_CONTEXT

public final static int

This allows the MQPMO_SET_IDENTITY_CONTEXT option to be specified in the PutMsgOpts parameter when a message is put on a queue. This gives the message the identity context information contained in the MsgDesc parameter specified on the MQPUT() or MQPUT1 call. This option implies MQOO_PASS_IDENTITY_CONTEXT, which need not therefore be specified. The MQOO_OUTPUT option must be specified. For more information on message context, see WebSphere MQ Application Programming Guide.

This option is valid for all types of queue, including distribution lists.

MQPER_NOT_PERSISTENT

public final static int

The message does not usually survive system failures or queue manager restarts. This applies even if an intact copy of the message is found on auxiliary storage when the queue manager restarts.

In the case of shared queues, nonpersistent messages survive queue manager restarts in the queue-sharing group, but do not survive failures of the coupling facility used to store messages on the shared queues.

MQPER_PERSISTENCE_AS_Q_DEF

public final static int

If the queue is not a cluster queue, the persistence of the message is taken from the DefPersistence attribute defined at the local queue manager, even if the destination queue manager is remote.

If the queue is a cluster queue, the persistence of the message is taken from the DefPersistence attribute defined at the destination queue manager that owns the particular instance of the queue on which the message is placed.

MQPER_PERSISTENT

public final static int

The message survives system failures and restarts of the queue manager. Once the message has been put, and the unit of work in which it was put has been committed (if the message is put as part of a unit of work), the message is preserved on auxiliary storage. It remains there until the message is removed from the queue, and the unit of work of which it was part has been committed (if the message is retrieved as part of a unit of work).

MQPL_AIX

public final static int

This indicates that the operating system on which the queue manager is running is AIX (same value as MQPL_UNIX).

MQPL_MVS

public final static int

This indicates that the operating system on which the queue manager is running is MVS/ESA (same value as MQPL_ZOS).

MQPL_NSK

public final static int

This indicates that the operating system on which the queue manager is running is Compaq NonStop Kernel.

MQPL_OS2

public final static int

This indicates that the operating system on which the queue manager is running is OS/2.

MQPL_OS400

public final static int

This indicates that the operating system on which the queue manager is running is OS/400 or i5/OS.

MQPL_UNIX

public final static int

This indicates that the operating system on which the queue manager is running is a UNIX system (same value as MQPL_AIX).

MQPL_WINDOWS

public final static int

This indicates that the operating system on which the queue manager is running is Windows 3.1.

MQPL_WINDOWS_NT

public final static int

This indicates that the operating system on which the queue manager is running is Windows NT(R), Windows 2000 or Windows XP.

MQPMO_ALTERNATE_USER_AUTHORITY

public final static int

This indicates that the AlternateUserId field in the ObjDesc parameter of the MQPUT1 call contains a user identifier that is to be used to validate authority to put messages on the queue. The call can succeed only if this AlternateUserId is authorized to open the queue with the specified options, regardless of whether the user identifier under which the application is running is authorized to do so.

MQPMO_DEFAULT_CONTEXT

public final static int

The message is to have default context information associated with it, for both identity and origin.

MQPMO_FAIL_IF_QUIESCING

public final static int

This option forces the MQPUT or MQPUT1 call to fail if the queue manager is in the quiescing state.

MQPMO_LOGICAL_ORDER

public final static int

This option tells the queue manager how the application puts messages in groups and segments of logical messages. It can be specified only on the MQPUT call; it is not valid on the MQPUT1 call. See WebSphere MQ Application Programming Reference for more information on this option.

MQPMO_NEW_CORREL_ID

public final static int

The queue manager replaces the contents of the CorrelId field in MQMD with a new correlation identifier. This correlation identifier is sent with the message, and returned to the application on output from the MQPUT or MQPUT1 call.

MQPMO_NEW_MSG_ID

public final static int

The queue manager replaces the contents of the MsgId field in MQMD with a new message identifier. This message identifier is sent with the message, and returned to the application on output from the MQPUT or MQPUT1 call.

MQPMO_NO_CONTEXT

public final static int

Both identity and origin context are set to indicate no context. This means that the context fields in MQMD are set to:

MQPMO_NO_SYNCPOINT

public final static int

The request is to operate outside the normal unit-of-work protocols. The message is available immediately, and it cannot be deleted by backing out a unit of work. If neither this option nor MQPMO_SYNCPOINT is specified, the inclusion of the put request in unit-of-work protocols is determined by the environment, see MQPMO_SYNCPOINT.

Do not specify MQPMO_NO_SYNCPOINT with MQPMO_SYNCPOINT.

MQPMO_NONE

public final static int

Use this value to indicate that no other options have been specified. All options assume their default values. MQPMO_NONE is defined to aid program documentation; it is not intended that this option be used with any other, but as its value is zero, such use cannot be detected.

MQPMO_PASS_ALL_CONTEXT

public final static int

The message is to have context information associated with it. Both identity and origin context are taken from the queue handle specified in the Context field.

MQPMO_PASS_IDENTITY_CONTEXT

public final static int

The message is to have context information associated with it. Identity context is taken from the queue handle specified in the Context field. Origin context information is generated by the queue manager in the same way that it is for MQPMO_DEFAULT_CONTEXT.

MQPMO_RESOLVE_LOCAL_Q

public final static int

Use this option to fill ResolvedQName in the MQPMO structure with the name of the local queue to which the message is put, and ResolvedQMgrName with the name of the local queue manager that hosts the local queue.

MQPMO_SET_ALL_CONTEXT

public final static int

The message is to have context information associated with it. The application specifies the identity and origin context in the MQMD structure. For more information on message context.

MQPMO_SET_IDENTITY_CONTEXT

public final static int

The message is to have context information associated with it. The application specifies the identity context in the MQMD structure. Origin context information is generated by the queue manager in the same way that it is for MQPMO_DEFAULT_CONTEXT.

MQPMO_SYNCPOINT

public final static int

The request is to operate within the normal unit-of-work protocols. The message is not visible outside the unit of work until the unit of work is committed. If the unit of work is backed out, the message is deleted.

If neither this option nor MQPMO_NO_SYNCPOINT is specified, the inclusion of the put request in unit-of-work protocols is determined by the environment:

Do not specify MQPMO_NO_SYNCPOINT with MQPMO_SYNCPOINT.

MQPMO_VERSION_1

public final static int

This is the version number of the put message options structure. This value indicates version 1 of the structure.

MQPMO_VERSION_2

public final static int

This is the version number of the put message options structure. This value indicates version 2 of the structure.

MQPMRF_ACCOUNTING_TOKEN

public final static int

This flag indicates that an accounting token field is present in the put message records provided by the application. This is only used when sending messages to a distribution list. For fields that are present, the queue manager uses for each destination the values from the fields in the corresponding put message record. For fields that are absent, the queue manager uses the values from the MQMD structure.

If you specify this flag, also specify either MQPMO_SET_IDENTITY_CONTEXT or MQPMO_SET_ALL_CONTEXT in the Options field; if this condition is not satisfied, the call fails with reason code MQRC_PMO_RECORD_FLAGS_ERROR.

MQPMRF_CORREL_ID

public final static int

This flag indicates that a correlation ID field is present in the put message records provided by the application. This is only used when sending messages to a distribution list. For fields that are present, the queue manager uses for each destination the values from the fields in the corresponding put message record. For fields that are absent, the queue manager uses the values from the MQMD structure.

MQPMRF_FEEDBACK

public final static int

This flag indicates that a feedback field is present in the put message records provided by the application. This is only used when sending messages to a distribution list. For fields that are present, the queue manager uses for each destination the values from the fields in the corresponding put message record. For fields that are absent, the queue manager uses the values from the MQMD structure.

MQPMRF_GROUP_ID

public final static int

This flag indicates that a group ID field is present in the put message records provided by the application. This is only used when sending messages to a distribution list. For fields that are present, the queue manager uses for each destination the values from the fields in the corresponding put message record. For fields that are absent, the queue manager uses the values from the MQMD structure.

MQPMRF_MSG_ID

public final static int

This flag indicates that a message-identifier field is present in the put message records provided by the application. This is only used when sending messages to a distribution list. For fields that are present, the queue manager uses for each destination the values from the fields in the corresponding put message record. For fields that are absent, the queue manager uses the values from the MQMD structure.

MQPMRF_NONE

public final static int

This flag indicates that no put message record fields are present. MQPMRF_NONE is defined to aid program documentation. It is not intended that this constant be used with any other, but as its value is zero, such use cannot be detected.

MQPRI_PRIORITY_AS_Q_DEF

public final static int

Priority is taken from the default priority attribute of the destination

MQQA_BACKOUT_HARDENED

public final static int

This option indicates that information is written to disk to ensure that the backout count for messages on this queue is accurate. This option imposes a performance overhead, so only use it if it is essential that the count is accurate.

MQQA_BACKOUT_NOT_HARDENED

public final static int

This option indicates that the backout count is not saved to disk. The count will survive queue manager restarts, but in the event of a queue manager failure the backout count might be lower than it should be.

MQQA_GET_ALLOWED

public final static int

This controls whether get operations for this queue are allowed. With this option, get operations are allowed.

MQQA_GET_INHIBITED

public final static int

This controls whether get operations for this queue are allowed. With this option, get operations are inhibited. MQGET calls fail with reason code MQRC_GET_INHIBITED. This includes MQGET calls that specify MQGMO_BROWSE_FIRST or MQGMO_BROWSE_NEXT.

MQQA_NOT_SHAREABLE

public final static int

This indicates whether the queue can be opened for input multiple times concurrently. With this option, the queue is not shareable.

MQQA_PUT_ALLOWED

public final static int

This controls whether put operations for this queue are allowed. With this option, put operations are allowed.

MQQA_PUT_INHIBITED

public final static int

This controls whether put operations for this queue are allowed. With this option, put operations are inhibited. MQPUT and MQPUT1 calls fail with reason code MQRC_PUT_INHIBITED.

MQQA_SHAREABLE

public final static int

This indicates whether the queue can be opened for input multiple times concurrently. With this option, the queue is shareable. Multiple opens with the MQOO_INPUT_SHARED option are allowed.

MQQDT_PERMANENT_DYNAMIC

public final static int

The queue is a permanent queue that was created by an application issuing an MQOPEN call with the name of a model queue specified in the object descriptor MQOD. The model queue definition had the value MQQDT_PERMANENT_DYNAMIC for the DefinitionType attribute.

MQQDT_PREDEFINED

public final static int

The queue is a permanent queue created by the system administrator. Only the system administrator can delete it. Predefined queues are created using the DEFINE MQSC command, and can be deleted only by using the DELETE MQSC command. Predefined queues cannot be created from model queues.

MQQDT_TEMPORARY_DYNAMIC

public final static int

The queue is a temporary queue that was created by an application issuing an MQOPEN call with the name of a model queue specified in the object descriptor MQOD. The model queue definition had the value MQQDT_TEMPORARY_DYNAMIC for the DefinitionType attribute.

This type of queue is deleted automatically by the MQCLOSE call when it is closed by the application that created it.

MQQT_ALIAS

public final static int

This defines an alias queue. This is not a physical queue; it is an alternative name for a local queue, a shared queue, a cluster queue, or a remote queue. The name of the queue to which the alias resolves is part of the definition of the alias queue.

MQQT_CLUSTER

public final static int

This defines a cluster queue. This is a physical queue that stores messages. The queue exists either on the local queue manager, or on one or more of the queue managers that belong to the same cluster as the local queue manager.

MQQT_LOCAL

public final static int

This defines a local queue. It is a physical queue that stores messages. The queue exists on the local queue manager. Applications connected to the local queue manager can place messages on and remove messages from queues of this type.

MQQT_MODEL

public final static int

This defines a model queue. It is not a physical queue; it is a set of queue attributes from which a local queue can be created. Messages cannot be stored on queues of this type.

MQQT_REMOTE

public final static int

This defines a remote queue. This is not a physical queue; it is the local definition of a queue that exists on a remote queue manager. The local definition of the remote queue contains information that tells the local queue manager how to route messages to the remote queue manager.

Applications connected to the local queue manager can place messages on queues of this type; the messages are placed on the local transmission queue used to route messages to the remote queue manager. Applications cannot remove messages from remote queues.

MQRFH_NO_FLAGS

public final static int

This defines an RFH flags field containing no flags.

MQRFH_STRUC_ID

public final static java.lang.String

This field is the identifier for the rules and formatting header structure.

MQRFH_STRUC_LENGTH_FIXED_1

public final static int

This defines the length of the fixed length part of a version 1 rules and formatting header structure. The length is 32 bytes.

MQRFH_STRUC_LENGTH_FIXED_2

public final static int

This defines the length of the fixed length part of a version 2 rules and formatting header structure. The length is 36 bytes.

MQRFH_VERSION_1

public final static int

This defines a version 1 rules and formatting header structure.

MQRFH_VERSION_2

public final static int

This defines a version 2 rules and formatting header structure.

MQRL_UNDEFINED

public final static int

The ReturnedLength field in the MQGMO is set by the queue manager to the length in bytes of the message data returned by the MQGET call in the Buffer parameter. If the queue manager does not support this capability, ReturnedLength is set to the value MQRL_UNDEFINED.

MQRO_ACCEPT_UNSUP_IF_XMIT_MASK

public final static int

This mask identifies the bit positions within the Report field where report options that are not supported by the local queue manager are nevertheless accepted on the MQPUT or MQPUT1 calls provided that both of the following conditions are satisfied:

MQRO_ACCEPT_UNSUP_MASK

public final static int

This mask identifies the bit positions within the Report field where report options that are not supported by the local queue manager are nevertheless accepted on the MQPUT or MQPUT1 calls.

MQRO_ACTIVITY

public final static int

This type of report is generated by applications that are enabled for activity recording.

MQRO_COA

public final static int

This type of report is generated by the queue manager that owns the destination queue when the message is placed on the destination queue. Message data from the original message is not included with the report message.

If the message is put as part of a unit of work, and the destination queue is a local queue, the COA report message generated by the queue manager can be retrieved only if the unit of work is committed.

Do not specify more than one of MQRO_COA, MQRO_COA_WITH_DATA, and MQRO_COA_WITH_FULL_DATA.

MQRO_COA_WITH_DATA

public final static int

This is the same as MQRO_COA, except that the first 100 bytes of the application message data from the original message are included in the report message. If the original message contains one or more MQ header structures, they are included in the report message, in addition to the 100 bytes of application data.

Do not specify more than one of MQRO_COA, MQRO_COA_WITH_DATA, and MQRO_COA_WITH_FULL_DATA.

MQRO_COA_WITH_FULL_DATA

public final static int

This is the same as MQRO_COA, except that all the application message data from the original message is included in the report message.

Do not specify more than one of MQRO_COA, MQRO_COA_WITH_DATA, and MQRO_COA_WITH_FULL_DATA.

MQRO_COD

public final static int

This type of report is generated by the queue manager when an application retrieves the message from the destination queue in a way that deletes the message from the queue. Message data from the original message is not included with the report message.

If the message is retrieved as part of a unit of work, the report message is generated within the same unit of work, so that the report is not available until the unit of work is committed. If the unit of work is backed out, the report is not sent.

Do not specify more than one of MQRO_COD, MQRO_COD_WITH_DATA, and MQRO_COD_WITH_FULL_DATA.

MQRO_COD_WITH_DATA

public final static int

This is the same as MQRO_COD, except that the first 100 bytes of the application message data from the original message are included in the report message. If the original message contains one or more MQ header structures, they are included in the report message, in addition to the 100 bytes of application data.

Do not specify more than one of MQRO_COD, MQRO_COD_WITH_DATA, and MQRO_COD_WITH_FULL_DATA.

MQRO_COD_WITH_FULL_DATA

public final static int

This is the same as MQRO_COD, except that all the application message data from the original message is included in the report message.

Do not specify more than one of MQRO_COD, MQRO_COD_WITH_DATA, and MQRO_COD_WITH_FULL_DATA.

MQRO_COPY_MSG_ID_TO_CORREL_ID

public final static int

This is the default action, and indicates that if a report or reply is generated as a result of this message, the MsgId of this message is copied to the CorrelId of the report or reply message.

MQRO_DEAD_LETTER_Q

public final static int

This is the default action, and places the message on the dead-letter queue if the message cannot be delivered to the destination queue. An exception report message is generated, if one was requested by the sender.

MQRO_DISCARD_MSG

public final static int

This discards the message if it cannot be delivered to the destination queue. An exception report message is generated, if one was requested by the sender.

If you want to return the original message to the sender, without the original message being placed on the dead-letter queue, the sender must specify MQRO_DISCARD_MSG with MQRO_EXCEPTION_WITH_FULL_DATA.

MQRO_EXCEPTION

public final static int

A message channel agent generates this type of report when a message is sent to another queue manager and the message cannot be delivered to the specified destination queue. For example, the destination queue or an intermediate transmission queue might be full, or the message might be too big for the queue.

Do not specify more than one of MQRO_EXCEPTION, MQRO_EXCEPTION_WITH_DATA, and MQRO_EXCEPTION_WITH_FULL_DATA.

MQRO_EXCEPTION_WITH_DATA

public final static int

This is the same as MQRO_EXCEPTION, except that the first 100 bytes of the application message data from the original message are included in the report message. If the original message contains one or more MQ header structures, they are included in the report message, in addition to the 100 bytes of application data.

Do not specify more than one of MQRO_EXCEPTION, MQRO_EXCEPTION_WITH_DATA, and MQRO_EXCEPTION_WITH_FULL_DATA.

MQRO_EXCEPTION_WITH_FULL_DATA

public final static int

Exception reports with full data required. This is the same as MQRO_EXCEPTION, except that all the application message data from the original message is included in the report message.

Do not specify more than one of MQRO_EXCEPTION, MQRO_EXCEPTION_WITH_DATA, and MQRO_EXCEPTION_WITH_FULL_DATA.

MQRO_EXPIRATION

public final static int

This type of report is generated by the queue manager if the message is discarded before delivery to an application because its expiry time has passed. If this option is not set, no report message is generated if a message is discarded for this reason.

Do not specify more than one of MQRO_EXPIRATION, MQRO_EXPIRATION_WITH_DATA, and MQRO_EXPIRATION_WITH_FULL_DATA.

MQRO_EXPIRATION_WITH_DATA

public final static int

This is the same as MQRO_EXPIRATION, except that the first 100 bytes of the application message data from the original message are included in the report message. If the original message contains one or more MQ header structures, they are included in the report message, in addition to the 100 bytes of application data.

Do not specify more than one of MQRO_EXPIRATION, MQRO_EXPIRATION_WITH_DATA, and MQRO_EXPIRATION_WITH_FULL_DATA.

MQRO_EXPIRATION_WITH_FULL_DATA

public final static int

This is the same as MQRO_EXPIRATION, except that all the application message data from the original message is included in the report message.

Do not specify more than one of MQRO_EXPIRATION, MQRO_EXPIRATION_WITH_DATA, and MQRO_EXPIRATION_WITH_FULL_DATA.

MQRO_NAN

public final static int

This type of report is generated by the application that retrieves the message and acts upon it. It indicates that the action requested in the message has not been performed successfully. The application generating the report determines whether any data is to be included with the report.

MQRO_NEW_MSG_ID

public final static int

This is the default action, and indicates that if a report or reply is generated as a result of this message, a new MsgId is generated for the report or reply message.

MQRO_NONE

public final static int

Use this value to indicate that no other options have been specified. MQRO_NONE is defined to aid program documentation. It is not intended that this option be used with any other, but as its value is zero, such use cannot be detected.

MQRO_PAN

public final static int

This type of report is generated by the application that retrieves the message and acts upon it. It indicates that the action requested in the message has been performed successfully. The application generating the report determines whether any data is to be included with the report.

MQRO_PASS_CORREL_ID

public final static int

If a report or reply is generated as a result of this message, the CorrelId of this message is copied to the CorrelId of the report or reply message.

If this option is not specified, MQRO_COPY_MSG_ID_TO_CORREL_ID is assumed.

MQRO_PASS_DISCARD_AND_EXPIRY

public final static int

If this option is set on a message, and a report or reply is generated because of it, the message descriptor of the report inherits:

MQRO_PASS_MSG_ID

public final static int

If a report or reply is generated as a result of this message, the MsgId of this message is copied to the MsgId of the report or reply message.

If this option is not specified, MQRO_NEW_MSG_ID is assumed.

MQRO_REJECT_UNSUP_MASK

public final static int

This mask identifies the bit positions within the Report field where report options that are not supported by the local queue manager cause the MQPUT or MQPUT1 call to fail with completion code MQCC_FAILED and reason code MQRC_REPORT_OPTIONS_ERROR.

MQSCO_VERSION_1

public final static int

This defines a version 1 SSL configuration options structure.

MQSCO_VERSION_2

public final static int

This defines a version 2 SSL configuration options structure.

MQSEG_ALLOWED

public final static char

This is a flag that indicates that further segmentation is allowed for the message retrieved.

MQSEG_INHIBITED

public final static char

This is a flag that indicates that further segmentation is inhibited for the message retrieved.

MQSIDT_NONE

public final static byte

This indicates that no security identifier is present

MQSIDT_NT_SECURITY_ID

public final static byte

This indicates that a Windows security identifier is present.

MQSP_AVAILABLE

public final static int

This indicates that the local queue manager supports units of work and syncpointing with the MQGET, MQPUT, and MQPUT1 calls.

MQSP_NOT_AVAILABLE

public final static int

This indicates that the local queue manager does not support units of work and syncpointing with the MQGET, MQPUT, and MQPUT1 calls.

MQSS_LAST_SEGMENT

public final static char

This is a flag that indicates whether the message retrieved is the last segment of a logical message. This is also the value returned if the logical message consists of only one segment.

MQSS_NOT_A_SEGMENT

public final static char

This is a flag that indicates whether the message retrieved is not a segment of a logical message.

MQSS_SEGMENT

public final static char

This is a flag that indicates whether the message retrieved is a segment of a logical message.

MQTC_OFF

public final static int

This controls whether trigger messages are written to an initiation queue to start an application to service the queue. With this option, no trigger messages are to be written for this queue.

MQTC_ON

public final static int

This controls whether trigger messages are written to an initiation queue to start an application to service the queue. With this option, trigger messages are to be written for this queue when the appropriate trigger events occur.

MQTT_DEPTH

public final static int

This controls the conditions under which trigger messages are written as a result of messages arriving on this queue. With this option, a trigger message is written whenever the number of messages of priority TriggerMsgPriority or greater on the queue equals or exceeds TriggerDepth.

After the trigger message has been written, TriggerControl is set to MQTC_OFF to prevent further triggering until it is explicitly turned on again.

MQTT_EVERY

public final static int

This controls the conditions under which trigger messages are written as a result of messages arriving on this queue. With this option, a trigger message is written whenever a message of priority TriggerMsgPriority or greater arrives on the queue.

MQTT_FIRST

public final static int

This controls the conditions under which trigger messages are written as a result of messages arriving on this queue. With this option, a trigger message is written whenever the number of messages of priority TriggerMsgPriority or greater on the queue changes from 0 to 1.

MQTT_NONE

public final static int

This controls the conditions under which trigger messages are written as a result of messages arriving on this queue. With this option, no trigger messages are written as a result of messages on this queue. This has the same effect as setting TriggerControl to MQTC_OFF.

MQUS_NORMAL

public final static int

This indicates what the queue is used for. This value indicates that this is a queue that applications use when putting and getting messages; the queue is not a transmission queue.

MQUS_TRANSMISSION

public final static int

This indicates what the queue is used for. This value indicates that this is a queue used to hold messages destined for remote queue managers. When an application sends a message to a remote queue, the local queue manager stores the message temporarily on the appropriate transmission queue.

MQWI_UNLIMITED

public final static int

This option indicates that the MQGET call can wait an unlimited time for a suitable message to arrive.

MQXCC_CLOSE_CHANNEL

public final static int

This value can be set by any type of channel exit, and indicates that the connection to the queue manager can be closed.

MQXCC_OK

public final static int

This is set by the exit to indicate that the exit completed successfully. For a channel security exit, this indicates that message transfer can now proceed normally. In the case of a send exit, it indicates that the returned data is to be transmitted to the queue manager, while in the case of a receive exit, it indicates that the returned data is available for processing by the WebSphere MQ Client for Java.

MQXCC_SEND_AND_REQUEST_SEC_MSG

public final static int

This is set by the security exit to indicate that the returned data is to be transmitted to the queue manager, and that a response is expected. If no response is received, the channel must be terminated, because the exit has not yet decided whether communications can proceed. It is not valid for send or receive exits.

MQXCC_SEND_SEC_MSG

public final static int

This is set by the security exit to indicate that the returned data is to be transmitted to the queue manager. No response is expected. It is not valid for send or receive exits.

MQXCC_SUPPRESS_EXIT

public final static int

This value can be set by a send exit or receive exit, to indicate that it can no longer be called. It suppresses any further invocation of that exit, until termination of the channel, when the exit is again invoked with an exit reason of MQXR_TERM.

MQXCC_SUPPRESS_FUNCTION

public final static int

This is set by the security exit to indicate that communications with the queue manager must be shut down. It is not valid for send or receive exits.

MQXR_INIT

public final static int

This indicates that the exit is being invoked for the first time. It allows the exit to acquire and initialize any resources that it might need

This is set after the channel connection conditions have been negotiated, but before any security flows have been sent.

MQXR_INIT_SEC

public final static int

This indicates that the exit is to initiate the security dialog with the queue manager. This occurs for channel security exits only.

The receiver's security exit is always invoked with this reason immediately after being invoked with MQC.MQXR_INIT, to give it the opportunity to initiate a security exchange. If it declines the opportunity by returning MQC.MQXCC_OK instead of MQC.MQXCC_SEND_SEC_MSG or MQC.MQXCC_SEND_AND_REQUEST_SEC_MSG , the sender's security exit is invoked with MQXR_INIT_SEC.

See WebSphere MQ Intercommunication for more details of the possible security exchanges that can take place when an exit is invoked with this reason.

MQXR_SEC_MSG

public final static int

This indicates that a security message has been received from the queue manager. This occurs for channel security exits only.

MQXR_SEC_PARMS

public final static int

This indicates that the exit might create a MQConnectionSecurityParameters object. If it does so, and MQChannelExit.getMQCSP() is not null after the exit completes, then the data returned from the exit is then sent to the server-connection end of the channel.

This occurs for channel security exits only, and takes place when the normal security message exchange has ended and the channel is ready to run.

See WebSphere MQ Intercommunication for more details of the possible security exchanges that can take place when an exit is invoked with this reason.

MQXR_TERM

public final static int

This indicates that the exit is about to be terminated. The exit should free any resources that it has acquired since it was initialized.

This is called after the disconnect flows have been sent but before the socket connection is destroyed.

MQXR_XMIT

public final static int

This indicates that the exit is about to process a transmission. This occurs for channel send and receive exits only.

MQXT_CHANNEL_RCV_EXIT

public final static int

This indicates that a Channel receive exit is being called. It is set on entry to the exit routine.

MQXT_CHANNEL_SEC_EXIT

public final static int

This indicates that a Channel security exit is being called. It is set on entry to the exit routine.

MQXT_CHANNEL_SEND_EXIT

public final static int

This indicates that a Channel send exit is being called. It is set on entry to the exit routine.

MSGCOMPLIST_LENGTH

public final static int

The maximum length of the list of message compression techniques which can be set.

PASSWORD_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the password. The corresponding value must be a String. This property overrides MQEnvironment.password .

PORT_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the port number. The corresponding value must be an Integer. This property overrides MQEnvironment.port .

RECEIVE_EXIT_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining a channel receive exit. The corresponding value must be an Object that implements com.ibm.mq.MQReceiveExit. This property overrides MQEnvironment.receiveExit.

SECURITY_EXIT_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining a channel security exit. The corresponding value must be an Object that implements com.ibm.mq.MQSecurityExit. This property overrides MQEnvironment.securirtyExit.

SEND_EXIT_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining a channel send exit. The corresponding value must be an Object that implements com.ibm.mq.MQSendExit. This property overrides MQEnvironment.sendExit .

SSL_CERT_STORE_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the SSL certificate store. The corresponding value must be a java.util.Collection or a java.security.cert.CertStore. This property overrides MQEnvironment.sslCertStores.

SSL_CIPHER_SUITE_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the name of the SSL cipher suite. The corresponding value must be a String. This property overrides MQEnvironment.sslCipherSuite.

SSL_FIPS_REQUIRED_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the SSL FIPS required flag. The corresponding value must be an Boolean. If this is set to true, then only FIPS-certified cipher suites will be used. This property overrides MQEnvironment.sslFipsRequired.

SSL_PEER_NAME_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the SSL peer name. The corresponding value must be a String. This property overrides MQEnvironment.sslPeerName .

SSL_RESET_COUNT_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the SSL key reset count. The corresponding value must be an Integer, with a value between 0 (disabled) and 999,999,999. This property overrides MQEnvironment.sslResetCount .

SSL_SOCKET_FACTORY_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the SSL socket factory. The corresponding value must be a javax.net.ssl.SSLSocketFactory. This property overrides MQEnvironment.sslSocketFactory.

THREAD_AFFINITY

public final static java.lang.String

Deprecated

see THREAD_AFFINITY_PROPERTY.

THREAD_AFFINITY_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining thread affinity. The corresponding value must be a Boolean. Thread affinity is disabled by default and connections can be shared. If it is enabled, then each queue manager connection will be bound to a worker thread.

Two-phase commit processing is not supported with shared connections, and so XA coordination is only possible when the MQQueueManager is created with THREAD_AFFINITY set to true. If it is not, MQQueueManager.begin() will fail with MQRC 2121, MQRC_NO_EXTERNAL_PARTICIPANTS.

TRANSPORT_MQSERIES

public final static java.lang.String

This value indicates that the mode of transport will be determined by the value of the hostname property. If this is not set, then the Java client will connect in Bindings mode, otherwise it will connect in Client mode.

TRANSPORT_MQSERIES_BINDINGS

public final static java.lang.String

This value indicates that the Java client will connect in Bindings mode.

TRANSPORT_MQSERIES_CLIENT

public final static java.lang.String

This value indicates that the Java client will connect in Client mode.

TRANSPORT_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the transport. The corresponding value must be an Integer, and must be one of MQC.TRANSPORT_MQSERIES_BINDINGS or MQC.TRANSPORT_MQSERIES_CLIENT. The default is MQC.TRANSPORT_MQSERIES, which selects a transport based on the value of the hostname property.

USER_ID_PROPERTY

public final static java.lang.String

WebSphere MQ Java environment key for defining the user ID. The corresponding value must be an String. This property overrides MQEnvironment.userID .