com.ibm.mq.jms
Interface JMSC


public interface JMSC

Contains all constants used in the WebSphere MQ Java Message Service product.


Field Summary
static java.lang.String CC_DEF_D_SHARED_QUEUE
          Default name for the JMS ConnectionConsumer durable subscriber queue.
static java.lang.String CC_DEF_ND_SHARED_QUEUE
          Default name for the JMS ConnectionConsumer nondurable subscriber queue.
static boolean MAP_NAME_STYLE_COMPATIBLE
          This parameter can be passed to MQConnectionFactory.setMapNameStyle(boolean) to indicate that the legacy com.ibm.jms.JMSMapMessage element naming format will be used.
static boolean MAP_NAME_STYLE_STANDARD
          This parameter may be passed to MQConnectionFactory.setMapNameStyle(boolean) to indicate that the standard com.ibm.jms.JMSMapMessage element naming format will be used.
static int MQCNO_FASTPATH_BINDING
          This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that the application and the local queue manager agent must be part of the same unit of execution.
static int MQCNO_ISOLATED_BINDING
          This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that the application and the local queue manager agent must run in separate units of execution and no resources will be shared.
static int MQCNO_RESTRICT_CONN_TAG_Q_MGR
          This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that connection tag use is restricted within the queue manager.
static int MQCNO_RESTRICT_CONN_TAG_QSG
          This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that connection tag use is restricted within the queue-sharing group.
static int MQCNO_SERIALIZE_CONN_TAG_Q_MGR
          This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that connection tag use is serialized within the queue manager.
static int MQCNO_SERIALIZE_CONN_TAG_QSG
          This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that connection tag use is serialized within the queue-sharing group.
static int MQCNO_SHARED_BINDING
          This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that the application and the local queue manager agent must run in separate units of execution, with some resources shared between the application and the local queue manager agent.
static int MQCNO_STANDARD_BINDING
          This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that the application and the local queue manager agent must run in separate units of execution.
static int MQJMS_BROKER_V1
          This parameter can be passed to MQConnectionFactory.setBrokerVersion(int) to indicate that the broker will use RFH1 headers.
static int MQJMS_BROKER_V2
          This parameter can be passed to MQConnection.setBrokerVersion(int) to indicate that the broker will use RFH2 headers.
static int MQJMS_CLEANUP_AS_PROPERTY
          This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to indicate that the style of cleanup to use will be determined by the system property com.ibm.mq.jms.cleanup, which is queried at JVM startup.
static int MQJMS_CLEANUP_FORCE
          This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to use forced cleanup.
static int MQJMS_CLEANUP_NONDUR
          This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to indicate that nondurable cleanup will be used.
static int MQJMS_CLEANUP_NONE
          This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to disable cleanup.
static int MQJMS_CLEANUP_SAFE
          This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to use safe cleanup.
static int MQJMS_CLEANUP_STRONG
          This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to use strong cleanup.
static int MQJMS_CLIENT_JMS_COMPLIANT
          This parameter can be passed to MQDestination.setTargetClient(int) to indicate that messages will be sent to a client running the WebSphere MQ JMS client.
static int MQJMS_CLIENT_NONJMS_MQ
          This parameter can be passed to MQDestination.setTargetClient(int) to indicate that messages will be sent to a non-JMS WebSphere MQ client.
static int MQJMS_COMPHDR_NONE
          This parameter can be passed in a Vector to MQConnectionFactory#setHdrCompList(Collection) to indicate that no message header compression will be used.
static int MQJMS_COMPHDR_SYSTEM
          This parameter can be passed in a Vector to MQConnectionFactory#setHdrCompList(Collection) to indicate that RLE message header compression will be used.
static int MQJMS_COMPMSG_NONE
          This parameter can be passed in a Vector to MQConnectionFactory#setMsgCompList(Collection) to indicate that no message data compression will be used.
static int MQJMS_COMPMSG_RLE
          This parameter can be passed in a Vector to MQConnectionFactory#setMsgCompList(Collection) to indicate that message data compression is to be performed using run-length encoding (RLE) compression.
static int MQJMS_COMPMSG_ZLIBFAST
          This parameter can be passed in a Vector to MQConnectionFactory#setMsgCompList(Collection) to indicate that message data compression is to be performed using ZLIB encoding and with speed of compression taking priority over degree of compression.
static int MQJMS_COMPMSG_ZLIBHIGH
          This parameter can be passed in a Vector to MQConnectionFactory#setMsgCompList(Collection) to indicate that message data compression is to be performed using ZLIB encoding and with degree of compression taking priority over speed of compression.
static int MQJMS_DIRECTAUTH_BASIC
          This parameter can be passed to MQConnectionFactory.setDirectAuth(int) to indicate either no authentication or basic user name and password authentication will be used.
static int MQJMS_DIRECTAUTH_CERTIFICATE
          This parameter can be passed to MQConnectionFactory.setDirectAuth(int) to indicate public key certificate authentication will be used.
static int MQJMS_EXP_APP
          This parameter can be passed to MQDestination.setExpiry(long) to indicate that the message expiry time is set to the value supplied by the application.
static int MQJMS_EXP_UNLIMITED
          This parameter can be passed to MQDestination.setExpiry(long) to indicate that the message expiry time is set to unlimited.
static int MQJMS_FIQ_NO
          This parameter can be passed to MQConnectionFactory.setFailIfQuiesce(int) to indicate applications accessing a quiescing queue manager will not fail.
static int MQJMS_FIQ_YES
          This parameter can be passed to MQConnectionFactory.setFailIfQuiesce(int) to indicate applications accessing a quiescing queue manager will fail.
static int MQJMS_MRET_NO
          This parameter can be passed to MQConnectionFactory.setMessageRetention(int) to indicate that unwanted messages will be dealt with according to their disposition options.
static int MQJMS_MRET_YES
          This parameter can be passed to MQConnectionFactory.setMessageRetention(int) to indicate that unwanted messages will remain on the input queue.
static int MQJMS_MSEL_BROKER
          This parameter can be passed to MQConnectionFactory.setMessageSelection(int) to indicate that the broker will perform message selection.
static int MQJMS_MSEL_CLIENT
          This parameter can be passed to MQConnectionFactory.setMessageSelection(int) to indicate that the client will perform message selection.
static int MQJMS_MULTICAST_AS_CF
          This parameter can be passed to MQConnectionFactory.setMulticast(int) to indicate that multicast usage on the Topic will be determined by the setting on MQConnectionFactory.
static int MQJMS_MULTICAST_DISABLED
          This parameter can be passed to MQConnectionFactory.setMulticast(int) to disable multicast be disabled.
static int MQJMS_MULTICAST_ENABLED
          This parameter can be passed to MQConnectionFactory.setMulticast(int) to enable multicast, if available.
static int MQJMS_MULTICAST_NOT_RELIABLE
          This parameter can be passed to MQConnectionFactory.setMulticast(int) to enable multicast but not to use reliable delivery.
static int MQJMS_MULTICAST_RELIABLE
          This parameter can be passed to MQConnectionFactory.setMulticast(int) to to enable multicast with reliable delivery only.
static int MQJMS_PER_APP
          This parameter can be passed to MQDestination.setPersistence(int) to indicate that the persistence is set to the value supplied by the application.
static int MQJMS_PER_NON
          This parameter can be passed to MQDestination.setPersistence(int) to indicate that the persistence for all messages is set to javax.jms.DeliveryMode.NON_PERSISTENT.
static int MQJMS_PER_NPHIGH
          This parameter can be passed to MQDestination.setPersistence(int) to indicate that messages will use NPMCLASS(HIGH) persistence if it is available on the queue.
static int MQJMS_PER_PER
          This parameter can be passed to MQDestination.setPersistence(int) to indicate that the persistence for all messages is set to javax.jms.DeliveryMode.PERSISTENT.
static int MQJMS_PER_QDEF
          This parameter can be passed to MQDestination.setPersistence(int) to indicate that the persistence is taken from the queue definition.
static int MQJMS_PRI_APP
          This parameter can be passed to MQDestination.setPriority(int) to indicate that the priority is set to the value supplied by the application.
static int MQJMS_PRI_QDEF
          This parameter can be passed to MQDestination.setPriority(int) to indicate that the priority is taken from the queue definition.
static int MQJMS_PROCESSING_SHORT
          This parameter can be passed to MQConnectionFactory.setProcessDuration(int) to indicate that the processing of a MessageConsumers messages is guaranteed to be completed promptly.
static int MQJMS_PROCESSING_UNKNOWN
          This parameter can be passed to MQConnectionFactory.setProcessDuration(int) to indicate that the processing of a MessageConsumers messages will take an unknown amount of time.
static int MQJMS_RCVISOL_COMMITTED
          This parameter can be passed to MQConnectionFactory.setReceiveIsolation(int) to indicate that publish/subscribe MessageConsumers can only attempt to receive messages that have been committed by their publisher.
static int MQJMS_RCVISOL_UNCOMMITTED
          This parameter can be passed to MQConnectionFactory.setReceiveIsolation(int) to indicate that publish/subscribe MessageConsumers are willing to see messages that have not yet been committed by their publisher.
static int MQJMS_SUBSTORE_BROKER
          This parameter can be passed to MQConnectionFactory.setSubscriptionStore(int) to indicate the Broker subscription store will be used to hold details of subscriptions.
static int MQJMS_SUBSTORE_MIGRATE
          This parameter can be passed to MQConnectionFactory.setSubscriptionStore(int) to indicate the Migrate subscription store will be used to hold details of subscriptions.
static int MQJMS_SUBSTORE_QUEUE
          This parameter can be passed to MQConnectionFactory.setSubscriptionStore(int) to indicate the Queue subscription store will be used to hold details of subscriptions.
static int MQJMS_TP_BINDINGS_MQ
          This parameter can be passed to MQConnectionFactory.setTransportType(int) to indicate that the application should connect to the queue manager in bindings mode.
static int MQJMS_TP_CLIENT_MQ_TCPIP
          This parameter can be passed to MQConnectionFactory.setTransportType(int) to indicate that the application should connect to the queue manager in (client TCP/IP) mode.
static int MQJMS_TP_DIRECT_HTTP
          This parameter can be passed to MQConnectionFactory.setTransportType(int) to indicate that the application should connect to a broker in DirectHTTP mode.
static int MQJMS_TP_DIRECT_TCPIP
          This parameter can be passed to MQConnectionFactory.setTransportType(int) to indicate that the application should connect to a broker in DirectIP mode.
static int MQRCCF_ALREADY_JOINED
          This reason code is returned by a broker to indicate that the identity already has an entry for this subscription.
static int MQRCCF_DUPLICATE_IDENTITY
          This reason code is returned by a broker to indicate that the publisher or subscriber identity is already assigned to another user ID.
static int MQRCCF_DUPLICATE_SUBSCRIPTION
          This reason code is returned by a broker to indicate that a matching subscription already exists.
static int MQRCCF_NOT_AUTHORIZED
          This reason code is returned by a broker to indicate that the subscriber has insufficient authority.
static int MQRCCF_NOT_REGISTERED
          This reason code is returned by a broker to indicate that the subscriber or publisher is not registered.
static int MQRCCF_REG_OPTIONS_ERROR
          This reason code is returned by a broker to indicate that incorrect registration options have been supplied.
static int MQRCCF_SUB_IDENTITY_ERROR
          This reason code is returned by a broker to indicate that the subscription identity parameter is in error.
static int MQRCCF_SUB_NAME_ERROR
          This reason code is returned by a broker to indicate that the subscription name parameter is not valid.
static int MQRCCF_SUBSCRIPTION_IN_USE
          This reason code is returned by a broker to indicate that the subscription is in use.
static int MQRCCF_SUBSCRIPTION_LOCKED
          This reason code is returned by a broker to indicate that the subscription is currently exclusively locked by another identity.
static int MQRCCF_TOPIC_ERROR
          This reason code is returned by a broker to indicate that the topic name has an invalid length or contains invalid characters.
static java.lang.String PS_CONTROL_QUEUE
          Default name for the broker control queue.
static java.lang.String PS_DEF_D_SHARED_QUEUE
          Default name for the JMS durable subscriber queue.
static java.lang.String PS_DEF_ND_SHARED_QUEUE
          Default name for the JMS nondurable subscriber queue.
static java.lang.String PS_DEFAULT_STREAM_QUEUE
          Default name for the broker publication queue.
 

Field Detail

PS_CONTROL_QUEUE

public static final java.lang.String PS_CONTROL_QUEUE
Default name for the broker control queue. This can be changed using MQConnectionFactory.setBrokerControlQueue(String).

See Also:
Constant Field Values

PS_DEFAULT_STREAM_QUEUE

public static final java.lang.String PS_DEFAULT_STREAM_QUEUE
Default name for the broker publication queue. This can be changed using MQConnectionFactory.setBrokerPubQueue(String).

See Also:
Constant Field Values

MQRCCF_TOPIC_ERROR

public static final int MQRCCF_TOPIC_ERROR
This reason code is returned by a broker to indicate that the topic name has an invalid length or contains invalid characters. Note that wildcard topic names are not allowed for Register Publisher and Publish commands. See WebSphere MQ Publish/Subscribe User's Guide for more information on this error code.

See Also:
Constant Field Values

MQRCCF_NOT_REGISTERED

public static final int MQRCCF_NOT_REGISTERED
This reason code is returned by a broker to indicate that the subscriber or publisher is not registered. See WebSphere MQ Publish/Subscribe User's Guide for more information on this error code.

See Also:
Constant Field Values

MQRCCF_DUPLICATE_IDENTITY

public static final int MQRCCF_DUPLICATE_IDENTITY
This reason code is returned by a broker to indicate that the publisher or subscriber identity is already assigned to another user ID. A given identity can only be assigned to one user ID at a time. See WebSphere MQ Publish/Subscribe User's Guide for more information on this error code.

See Also:
Constant Field Values

MQRCCF_REG_OPTIONS_ERROR

public static final int MQRCCF_REG_OPTIONS_ERROR
This reason code is returned by a broker to indicate that incorrect registration options have been supplied. See WebSphere MQ Publish/Subscribe User's Guide for more information on this error code.

See Also:
Constant Field Values

MQRCCF_DUPLICATE_SUBSCRIPTION

public static final int MQRCCF_DUPLICATE_SUBSCRIPTION
This reason code is returned by a broker to indicate that a matching subscription already exists. See WebSphere MQ Publish/Subscribe User's Guide for more information on this error code.

See Also:
Constant Field Values

MQRCCF_SUB_NAME_ERROR

public static final int MQRCCF_SUB_NAME_ERROR
This reason code is returned by a broker to indicate that the subscription name parameter is not valid. Either the subscription name is not of a valid format or a matching subscription already exists with no subscription name. See WebSphere MQ Publish/Subscribe User's Guide for more information on this error code.

See Also:
Constant Field Values

MQRCCF_SUB_IDENTITY_ERROR

public static final int MQRCCF_SUB_IDENTITY_ERROR
This reason code is returned by a broker to indicate that the subscription identity parameter is in error. Either the supplied value exceeds the maximum length allowed or the subscription identity is not currently a member of the subscription's identity set and a Join registration option was not specified. See WebSphere MQ Publish/Subscribe User's Guide for more information on this error code.

See Also:
Constant Field Values

MQRCCF_SUBSCRIPTION_IN_USE

public static final int MQRCCF_SUBSCRIPTION_IN_USE
This reason code is returned by a broker to indicate that the subscription is in use. An attempt to modify or deregister a subscription was attempted by a member of the identity set when they were not the only member of this set. See WebSphere MQ Publish/Subscribe User's Guide for more information on this error code.

See Also:
Constant Field Values

MQRCCF_SUBSCRIPTION_LOCKED

public static final int MQRCCF_SUBSCRIPTION_LOCKED
This reason code is returned by a broker to indicate that the subscription is currently exclusively locked by another identity. See WebSphere MQ Publish/Subscribe User's Guide for more information on this error code.

See Also:
Constant Field Values

MQRCCF_ALREADY_JOINED

public static final int MQRCCF_ALREADY_JOINED
This reason code is returned by a broker to indicate that the identity already has an entry for this subscription. A Join registration option was specified but the subscriber identity was already a member of the subscription's identity set. See WebSphere MQ Publish/Subscribe User's Guide for more information on this error code.

See Also:
Constant Field Values

MQRCCF_NOT_AUTHORIZED

public static final int MQRCCF_NOT_AUTHORIZED
This reason code is returned by a broker to indicate that the subscriber has insufficient authority. To receive publications a subscriber application needs both browse and get authority for the queue that it is subscribing to, and put authority for the queue that broker commands are to be sent to. Subscriptions are rejected if the subscriber does not have both authorities. See WebSphere MQ Publish/Subscribe User's Guide for more information on this error code.

See Also:
Constant Field Values

PS_DEF_ND_SHARED_QUEUE

public static final java.lang.String PS_DEF_ND_SHARED_QUEUE
Default name for the JMS nondurable subscriber queue. This can be altered using MQConnectionFactory.setBrokerSubQueue(String).

See Also:
Constant Field Values

PS_DEF_D_SHARED_QUEUE

public static final java.lang.String PS_DEF_D_SHARED_QUEUE
Default name for the JMS durable subscriber queue. This can be altered using MQTopic.setBrokerDurSubQueue(String).

See Also:
Constant Field Values

CC_DEF_ND_SHARED_QUEUE

public static final java.lang.String CC_DEF_ND_SHARED_QUEUE
Default name for the JMS ConnectionConsumer nondurable subscriber queue. This can be altered using MQTopic.setBrokerCCSubQueue(String).

See Also:
Constant Field Values

CC_DEF_D_SHARED_QUEUE

public static final java.lang.String CC_DEF_D_SHARED_QUEUE
Default name for the JMS ConnectionConsumer durable subscriber queue. This can be altered using MQTopic.setBrokerCCDurSubQueue(String).

See Also:
Constant Field Values

MQJMS_CLIENT_JMS_COMPLIANT

public static final int MQJMS_CLIENT_JMS_COMPLIANT
This parameter can be passed to MQDestination.setTargetClient(int) to indicate that messages will be sent to a client running the WebSphere MQ JMS client. This is the default value.

See Also:
MQDestination.setTargetClient(int), Constant Field Values

MQJMS_CLIENT_NONJMS_MQ

public static final int MQJMS_CLIENT_NONJMS_MQ
This parameter can be passed to MQDestination.setTargetClient(int) to indicate that messages will be sent to a non-JMS WebSphere MQ client.

See Also:
MQDestination.setTargetClient(int), Constant Field Values

MQJMS_EXP_APP

public static final int MQJMS_EXP_APP
This parameter can be passed to MQDestination.setExpiry(long) to indicate that the message expiry time is set to the value supplied by the application. This is the default behaviour.

See Also:
MQDestination.setExpiry(long), Constant Field Values

MQJMS_EXP_UNLIMITED

public static final int MQJMS_EXP_UNLIMITED
This parameter can be passed to MQDestination.setExpiry(long) to indicate that the message expiry time is set to unlimited.

See Also:
MQDestination.setExpiry(long), Constant Field Values

MQJMS_PRI_APP

public static final int MQJMS_PRI_APP
This parameter can be passed to MQDestination.setPriority(int) to indicate that the priority is set to the value supplied by the application. This is the default behaviour.

See Also:
MQDestination.setPriority(int), Constant Field Values

MQJMS_PRI_QDEF

public static final int MQJMS_PRI_QDEF
This parameter can be passed to MQDestination.setPriority(int) to indicate that the priority is taken from the queue definition.

See Also:
MQC.MQPRI_PRIORITY_AS_Q_DEF, MQDestination.setPriority(int), Constant Field Values

MQJMS_PER_APP

public static final int MQJMS_PER_APP
This parameter can be passed to MQDestination.setPersistence(int) to indicate that the persistence is set to the value supplied by the application. This is the default behaviour.

See Also:
MQDestination.setPersistence(int), Constant Field Values

MQJMS_PER_QDEF

public static final int MQJMS_PER_QDEF
This parameter can be passed to MQDestination.setPersistence(int) to indicate that the persistence is taken from the queue definition.

See Also:
MQDestination.setPersistence(int), Constant Field Values

MQJMS_PER_PER

public static final int MQJMS_PER_PER
This parameter can be passed to MQDestination.setPersistence(int) to indicate that the persistence for all messages is set to javax.jms.DeliveryMode.PERSISTENT.

See Also:
MQDestination.setPersistence(int), Constant Field Values

MQJMS_PER_NON

public static final int MQJMS_PER_NON
This parameter can be passed to MQDestination.setPersistence(int) to indicate that the persistence for all messages is set to javax.jms.DeliveryMode.NON_PERSISTENT.

See Also:
MQDestination.setPersistence(int), Constant Field Values

MQJMS_PER_NPHIGH

public static final int MQJMS_PER_NPHIGH
This parameter can be passed to MQDestination.setPersistence(int) to indicate that messages will use NPMCLASS(HIGH) persistence if it is available on the queue. If it is not available, messages will be sent using javax.jms.DeliveryMode.PERSISTENT persistence. See the WebSphere MQ System Administration Guide for more information about NPMCLASS(HIGH).

See Also:
MQDestination.setPersistence(int), Constant Field Values

MQJMS_BROKER_V1

public static final int MQJMS_BROKER_V1
This parameter can be passed to MQConnectionFactory.setBrokerVersion(int) to indicate that the broker will use RFH1 headers. This is required when using the WebSphere MQ Publish/Subscribe broker or when using a broker of WebSphere MQ Integrator, WebSphere MQ Event Broker, WebSphere Business Integration Event Broker or WebSphere Business Integration Message Broker in compatibility mode.

See Also:
MQConnectionFactory.setBrokerVersion(int), Constant Field Values

MQJMS_BROKER_V2

public static final int MQJMS_BROKER_V2
This parameter can be passed to MQConnection.setBrokerVersion(int) to indicate that the broker will use RFH2 headers. This is available when using a broker of WebSphere MQ Integrator, WebSphere MQ Event Broker, WebSphere Business Integration Event Broker or WebSphere Business Integration Message Broker in native mode.

See Also:
MQConnectionFactory.setBrokerVersion(int), Constant Field Values

MQJMS_MSEL_CLIENT

public static final int MQJMS_MSEL_CLIENT
This parameter can be passed to MQConnectionFactory.setMessageSelection(int) to indicate that the client will perform message selection. This is the default value for message selection.

See Also:
Constant Field Values

MQJMS_MSEL_BROKER

public static final int MQJMS_MSEL_BROKER
This parameter can be passed to MQConnectionFactory.setMessageSelection(int) to indicate that the broker will perform message selection.

See Also:
Constant Field Values

MQJMS_TP_BINDINGS_MQ

public static final int MQJMS_TP_BINDINGS_MQ
This parameter can be passed to MQConnectionFactory.setTransportType(int) to indicate that the application should connect to the queue manager in bindings mode.

See Also:
MQConnectionFactory.setTransportType(int), Constant Field Values

MQJMS_TP_CLIENT_MQ_TCPIP

public static final int MQJMS_TP_CLIENT_MQ_TCPIP
This parameter can be passed to MQConnectionFactory.setTransportType(int) to indicate that the application should connect to the queue manager in (client TCP/IP) mode.

See Also:
MQConnectionFactory.setTransportType(int), Constant Field Values

MQJMS_TP_DIRECT_TCPIP

public static final int MQJMS_TP_DIRECT_TCPIP
This parameter can be passed to MQConnectionFactory.setTransportType(int) to indicate that the application should connect to a broker in DirectIP mode. See the broker documentation for more details of this connection mode.

See Also:
MQConnectionFactory.setTransportType(int), Constant Field Values

MQJMS_TP_DIRECT_HTTP

public static final int MQJMS_TP_DIRECT_HTTP
This parameter can be passed to MQConnectionFactory.setTransportType(int) to indicate that the application should connect to a broker in DirectHTTP mode. See the broker documentation for more details of this connection mode.

See Also:
MQConnectionFactory.setTransportType(int), Constant Field Values

MQJMS_MRET_NO

public static final int MQJMS_MRET_NO
This parameter can be passed to MQConnectionFactory.setMessageRetention(int) to indicate that unwanted messages will be dealt with according to their disposition options.

See Also:
MQConnectionFactory.setMessageRetention(int), Constant Field Values

MQJMS_MRET_YES

public static final int MQJMS_MRET_YES
This parameter can be passed to MQConnectionFactory.setMessageRetention(int) to indicate that unwanted messages will remain on the input queue. This is the default value for message retention.

See Also:
MQConnectionFactory.setMessageRetention(int), Constant Field Values

MQJMS_FIQ_NO

public static final int MQJMS_FIQ_NO
This parameter can be passed to MQConnectionFactory.setFailIfQuiesce(int) to indicate applications accessing a quiescing queue manager will not fail.

See Also:
MQConnectionFactory.setFailIfQuiesce(int), Constant Field Values

MQJMS_FIQ_YES

public static final int MQJMS_FIQ_YES
This parameter can be passed to MQConnectionFactory.setFailIfQuiesce(int) to indicate applications accessing a quiescing queue manager will fail. This is the default value.

See Also:
MQConnectionFactory.setFailIfQuiesce(int), Constant Field Values

MQJMS_RCVISOL_COMMITTED

public static final int MQJMS_RCVISOL_COMMITTED
This parameter can be passed to MQConnectionFactory.setReceiveIsolation(int) to indicate that publish/subscribe MessageConsumers can only attempt to receive messages that have been committed by their publisher.

See Also:
MQConnectionFactory.setReceiveIsolation(int), Constant Field Values

MQJMS_RCVISOL_UNCOMMITTED

public static final int MQJMS_RCVISOL_UNCOMMITTED
This parameter can be passed to MQConnectionFactory.setReceiveIsolation(int) to indicate that publish/subscribe MessageConsumers are willing to see messages that have not yet been committed by their publisher.

See Also:
MQConnectionFactory.setReceiveIsolation(int), Constant Field Values

MQJMS_PROCESSING_UNKNOWN

public static final int MQJMS_PROCESSING_UNKNOWN
This parameter can be passed to MQConnectionFactory.setProcessDuration(int) to indicate that the processing of a MessageConsumers messages will take an unknown amount of time.

See Also:
MQConnectionFactory.setProcessDuration(int), Constant Field Values

MQJMS_PROCESSING_SHORT

public static final int MQJMS_PROCESSING_SHORT
This parameter can be passed to MQConnectionFactory.setProcessDuration(int) to indicate that the processing of a MessageConsumers messages is guaranteed to be completed promptly. This value must be used if using the MQJMS_RCVISOL_UNCOMMITTED parameter.

See Also:
MQConnectionFactory.setProcessDuration(int), Constant Field Values

MQJMS_SUBSTORE_QUEUE

public static final int MQJMS_SUBSTORE_QUEUE
This parameter can be passed to MQConnectionFactory.setSubscriptionStore(int) to indicate the Queue subscription store will be used to hold details of subscriptions.

See Also:
MQConnectionFactory.setSubscriptionStore(int), Constant Field Values

MQJMS_SUBSTORE_BROKER

public static final int MQJMS_SUBSTORE_BROKER
This parameter can be passed to MQConnectionFactory.setSubscriptionStore(int) to indicate the Broker subscription store will be used to hold details of subscriptions.

See Also:
MQConnectionFactory.setSubscriptionStore(int), Constant Field Values

MQJMS_SUBSTORE_MIGRATE

public static final int MQJMS_SUBSTORE_MIGRATE
This parameter can be passed to MQConnectionFactory.setSubscriptionStore(int) to indicate the Migrate subscription store will be used to hold details of subscriptions.

See Also:
MQConnectionFactory.setSubscriptionStore(int), Constant Field Values

MQJMS_CLEANUP_AS_PROPERTY

public static final int MQJMS_CLEANUP_AS_PROPERTY
This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to indicate that the style of cleanup to use will be determined by the system property com.ibm.mq.jms.cleanup, which is queried at JVM startup. This property can be set on the Java command line using the -D option, to NONE, SAFE, or STRONG. Any other value will cause an exception to be thrown. If not set, the property defaults to SAFE. This allows easy JVM-wide changes to the cleanup level without updating every TopicConnectionFactory used by the system.

See Also:
MQConnectionFactory.setCleanupLevel(int), MQJMS_CLEANUP_NONE, MQJMS_CLEANUP_SAFE, MQJMS_CLEANUP_STRONG, Constant Field Values

MQJMS_CLEANUP_NONE

public static final int MQJMS_CLEANUP_NONE
This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to disable cleanup. In this mode, no cleanup is performed, and no cleanup publish/subscribe thread exists. Additionally, if the application is using the single queue approach, unconsumed messages can be left on the queue. This option can be useful if the application is distant from the queue manager, and especially if it only publishes rather than subscribes.

See Also:
MQConnectionFactory.setCleanupLevel(int), Constant Field Values

MQJMS_CLEANUP_SAFE

public static final int MQJMS_CLEANUP_SAFE
This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to use safe cleanup. The cleanup thread tries to remove unconsumed subscription messages or temporary queues for failed subscriptions. This mode of cleanup does not interfere with the operation of other JMS applications.

See Also:
MQConnectionFactory.setCleanupLevel(int), Constant Field Values

MQJMS_CLEANUP_STRONG

public static final int MQJMS_CLEANUP_STRONG
This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to use strong cleanup. The cleanup thread performs as JMSC.MQJMS_CLEANUP_SAFE, but also clears the SYSTEM.JMS.REPORT.QUEUE of any unrecognized messages. This mode of cleanup can interfere with the operation of JMS applications running with later versions of WebSphere MQ JMS. If multiple JMS applications are using the same queue manager, but using different versions of WebSphere MQ JMS, only clients using the most recent version of WebSphere MQ JMS should use this option.

See Also:
MQConnectionFactory.setCleanupLevel(int), Constant Field Values

MQJMS_CLEANUP_FORCE

public static final int MQJMS_CLEANUP_FORCE
This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to use forced cleanup. This option behaves like JMSC.MQJMS_CLEANUP_STRONG except that, instead of leaving messages that cannot be processed on SYSTEM.JMS.REPORT.QUEUE, all messages are removed even if an error is encountered during processing. This cleanup level cannot be used when running the cleanup utility with a cleanup interval specified, that is, it can only be used to run cleanup once, not as a repeating task.

See Also:
MQConnectionFactory.setCleanupLevel(int), Constant Field Values

MQJMS_CLEANUP_NONDUR

public static final int MQJMS_CLEANUP_NONDUR
This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to indicate that nondurable cleanup will be used. This option behaves like JMSC.MQJMS_CLEANUP_FORCE. After clearing the SYSTEM.JMS.REPORT.QUEUE, it attempts to remove any remaining unconsumed messages sent to nondurable subscribers. If the queue manager's command server is running on any queue beginning SYSTEM.JMS.ND.*, messages are cleared and the queue itself might be deleted. Otherwise, only SYSTEM.JMS.ND.SUBSCRIBER.QUEUE and SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE are cleared of messages. This cleanup level cannot be used when running the cleanup utility with a cleanup interval specified, that is, it can only be used to run cleanup once, not as a repeating task.

See Also:
MQConnectionFactory.setCleanupLevel(int), Constant Field Values

MQJMS_MULTICAST_DISABLED

public static final int MQJMS_MULTICAST_DISABLED
This parameter can be passed to MQConnectionFactory.setMulticast(int) to disable multicast be disabled.

See Also:
MQConnectionFactory.setMulticast(int), Constant Field Values

MQJMS_MULTICAST_AS_CF

public static final int MQJMS_MULTICAST_AS_CF
This parameter can be passed to MQConnectionFactory.setMulticast(int) to indicate that multicast usage on the Topic will be determined by the setting on MQConnectionFactory.

See Also:
MQConnectionFactory.setMulticast(int), Constant Field Values

MQJMS_MULTICAST_NOT_RELIABLE

public static final int MQJMS_MULTICAST_NOT_RELIABLE
This parameter can be passed to MQConnectionFactory.setMulticast(int) to enable multicast but not to use reliable delivery. This value is used to enable multicast for legacy applications.

See Also:
MQConnectionFactory.setMulticast(int), Constant Field Values

MQJMS_MULTICAST_RELIABLE

public static final int MQJMS_MULTICAST_RELIABLE
This parameter can be passed to MQConnectionFactory.setMulticast(int) to to enable multicast with reliable delivery only.

See Also:
MQConnectionFactory.setMulticast(int), Constant Field Values

MQJMS_MULTICAST_ENABLED

public static final int MQJMS_MULTICAST_ENABLED
This parameter can be passed to MQConnectionFactory.setMulticast(int) to enable multicast, if available.

See Also:
MQConnectionFactory.setMulticast(int), Constant Field Values

MQJMS_DIRECTAUTH_BASIC

public static final int MQJMS_DIRECTAUTH_BASIC
This parameter can be passed to MQConnectionFactory.setDirectAuth(int) to indicate either no authentication or basic user name and password authentication will be used.

See Also:
MQConnectionFactory.setMulticast(int), Constant Field Values

MQJMS_DIRECTAUTH_CERTIFICATE

public static final int MQJMS_DIRECTAUTH_CERTIFICATE
This parameter can be passed to MQConnectionFactory.setDirectAuth(int) to indicate public key certificate authentication will be used.

See Also:
MQConnectionFactory.setMulticast(int), Constant Field Values

MQJMS_COMPHDR_NONE

public static final int MQJMS_COMPHDR_NONE
This parameter can be passed in a Vector to MQConnectionFactory#setHdrCompList(Collection) to indicate that no message header compression will be used. This is the default value.

See Also:
MQConnectionFactory.setHdrCompList(Collection), Constant Field Values

MQJMS_COMPHDR_SYSTEM

public static final int MQJMS_COMPHDR_SYSTEM
This parameter can be passed in a Vector to MQConnectionFactory#setHdrCompList(Collection) to indicate that RLE message header compression will be used.

See Also:
MQConnectionFactory.setHdrCompList(Collection), Constant Field Values

MQJMS_COMPMSG_NONE

public static final int MQJMS_COMPMSG_NONE
This parameter can be passed in a Vector to MQConnectionFactory#setMsgCompList(Collection) to indicate that no message data compression will be used. This is the default value.

See Also:
MQConnectionFactory.setMsgCompList(Collection), Constant Field Values

MQJMS_COMPMSG_RLE

public static final int MQJMS_COMPMSG_RLE
This parameter can be passed in a Vector to MQConnectionFactory#setMsgCompList(Collection) to indicate that message data compression is to be performed using run-length encoding (RLE) compression.

See Also:
MQConnectionFactory.setMsgCompList(Collection), Constant Field Values

MQJMS_COMPMSG_ZLIBFAST

public static final int MQJMS_COMPMSG_ZLIBFAST
This parameter can be passed in a Vector to MQConnectionFactory#setMsgCompList(Collection) to indicate that message data compression is to be performed using ZLIB encoding and with speed of compression taking priority over degree of compression.

See Also:
MQConnectionFactory.setMsgCompList(Collection), Constant Field Values

MQJMS_COMPMSG_ZLIBHIGH

public static final int MQJMS_COMPMSG_ZLIBHIGH
This parameter can be passed in a Vector to MQConnectionFactory#setMsgCompList(Collection) to indicate that message data compression is to be performed using ZLIB encoding and with degree of compression taking priority over speed of compression.

See Also:
MQConnectionFactory.setMsgCompList(Collection), Constant Field Values

MAP_NAME_STYLE_STANDARD

public static final boolean MAP_NAME_STYLE_STANDARD
This parameter may be passed to MQConnectionFactory.setMapNameStyle(boolean) to indicate that the standard com.ibm.jms.JMSMapMessage element naming format will be used. This is the default.

See Also:
MQConnectionFactory.setMapNameStyle(boolean), Constant Field Values

MAP_NAME_STYLE_COMPATIBLE

public static final boolean MAP_NAME_STYLE_COMPATIBLE
This parameter can be passed to MQConnectionFactory.setMapNameStyle(boolean) to indicate that the legacy com.ibm.jms.JMSMapMessage element naming format will be used. This is only needed if Map messages are being sent to WebSphere MQ JMS Clients older than version 5.3.

See Also:
MQConnectionFactory.setMapNameStyle(boolean), Constant Field Values

MQCNO_SERIALIZE_CONN_TAG_Q_MGR

public static final int MQCNO_SERIALIZE_CONN_TAG_Q_MGR
This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that connection tag use is serialized within the queue manager. This connection option is supported on z/OS only.

See Also:
MQC.MQCNO_SERIALIZE_CONN_TAG_Q_MGR, MQConnectionFactory.setMQConnectionOptions(int), Constant Field Values

MQCNO_SERIALIZE_CONN_TAG_QSG

public static final int MQCNO_SERIALIZE_CONN_TAG_QSG
This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that connection tag use is serialized within the queue-sharing group. This connection option is supported on z/OS only.

See Also:
MQC.MQCNO_SERIALIZE_CONN_TAG_QSG, MQConnectionFactory.setMQConnectionOptions(int), Constant Field Values

MQCNO_RESTRICT_CONN_TAG_Q_MGR

public static final int MQCNO_RESTRICT_CONN_TAG_Q_MGR
This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that connection tag use is restricted within the queue manager. This connection option is supported on z/OS only.

See Also:
MQC.MQCNO_RESTRICT_CONN_TAG_Q_MGR, MQConnectionFactory.setMQConnectionOptions(int), Constant Field Values

MQCNO_RESTRICT_CONN_TAG_QSG

public static final int MQCNO_RESTRICT_CONN_TAG_QSG
This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that connection tag use is restricted within the queue-sharing group. This connection option is supported on z/OS only.

See Also:
MQC.MQCNO_RESTRICT_CONN_TAG_QSG, MQConnectionFactory.setMQConnectionOptions(int), Constant Field Values

MQCNO_STANDARD_BINDING

public static final int MQCNO_STANDARD_BINDING
This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that the application and the local queue manager agent must run in separate units of execution.

See Also:
MQC.MQCNO_STANDARD_BINDING, MQConnectionFactory.setMQConnectionOptions(int), Constant Field Values

MQCNO_FASTPATH_BINDING

public static final int MQCNO_FASTPATH_BINDING
This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that the application and the local queue manager agent must be part of the same unit of execution.

See Also:
MQC.MQCNO_FASTPATH_BINDING, MQConnectionFactory.setMQConnectionOptions(int), Constant Field Values

MQCNO_SHARED_BINDING

public static final int MQCNO_SHARED_BINDING
This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that the application and the local queue manager agent must run in separate units of execution, with some resources shared between the application and the local queue manager agent.

See Also:
MQC.MQCNO_SHARED_BINDING, MQConnectionFactory.setMQConnectionOptions(int), Constant Field Values

MQCNO_ISOLATED_BINDING

public static final int MQCNO_ISOLATED_BINDING
This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that the application and the local queue manager agent must run in separate units of execution and no resources will be shared.

See Also:
MQC.MQCNO_ISOLATED_BINDING, MQConnectionFactory.setMQConnectionOptions(int), Constant Field Values

(c) Copyright IBM Corp. 2005. All Rights Reserved.