JMSC

public interface JMSC
com.ibm.mq.jms.JMSC
          

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

Fields

CC_DEF_D_SHARED_QUEUE

public final static java.lang.String

Default name for the JMS ConnectionConsumer durable subscriber queue. This can be altered using MQTopic.setBrokerCCDurSubQueue(String) .

CC_DEF_ND_SHARED_QUEUE

public final static java.lang.String

Default name for the JMS ConnectionConsumer nondurable subscriber queue. This can be altered using MQTopic.setBrokerCCSubQueue(String) .

MAP_NAME_STYLE_COMPATIBLE

public final static boolean

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.

MAP_NAME_STYLE_STANDARD

public final static boolean

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.

MQCNO_FASTPATH_BINDING

public final static int

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.

MQCNO_ISOLATED_BINDING

public final static int

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.

MQCNO_RESTRICT_CONN_TAG_Q_MGR

public final static int

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.

MQCNO_RESTRICT_CONN_TAG_QSG

public final static int

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.

MQCNO_SERIALIZE_CONN_TAG_Q_MGR

public final static int

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.

MQCNO_SERIALIZE_CONN_TAG_QSG

public final static int

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.

MQCNO_SHARED_BINDING

public final static int

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.

MQCNO_STANDARD_BINDING

public final static int

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.

MQJMS_BROKER_V1

public final static int

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.

MQJMS_BROKER_V2

public final static int

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.

MQJMS_CLEANUP_AS_PROPERTY

public final static int

This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to indicate that the style of cleanup to use is 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.

MQJMS_CLEANUP_FORCE

public final static int

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.

MQJMS_CLEANUP_NONDUR

public final static int

This parameter can be passed to MQConnectionFactory.setCleanupLevel(int) to use nondurable cleanup. 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.

MQJMS_CLEANUP_NONE

public final static int

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.

MQJMS_CLEANUP_SAFE

public final static int

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.

MQJMS_CLEANUP_STRONG

public final static int

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.

MQJMS_CLIENT_JMS_COMPLIANT

public final static int

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.

MQJMS_CLIENT_NONJMS_MQ

public final static int

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

MQJMS_COMPHDR_NONE

public final static int

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.

MQJMS_COMPHDR_SYSTEM

public final static int

This parameter can be passed in a Vector to MQConnectionFactory.setHdrCompList(Collection) to indicate that RLE message header compression will be used.

MQJMS_COMPMSG_NONE

public final static int

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.

MQJMS_COMPMSG_RLE

public final static int

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.

MQJMS_COMPMSG_ZLIBFAST

public final static int

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.

MQJMS_COMPMSG_ZLIBHIGH

public final static int

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.

MQJMS_DIRECTAUTH_BASIC

public final static int

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

MQJMS_DIRECTAUTH_CERTIFICATE

public final static int

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

MQJMS_EXP_APP

public final static int

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 behavior.

MQJMS_EXP_UNLIMITED

public final static int

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

MQJMS_FIQ_NO

public final static int

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

MQJMS_FIQ_YES

public final static int

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

MQJMS_MRET_NO

public final static int

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

MQJMS_MRET_YES

public final static int

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.

MQJMS_MSEL_BROKER

public final static int

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

MQJMS_MSEL_CLIENT

public final static int

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.

MQJMS_MULTICAST_AS_CF

public final static int

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.

MQJMS_MULTICAST_DISABLED

public final static int

This parameter can be passed to MQConnectionFactory.setMulticast(int) to disable multicast.

MQJMS_MULTICAST_ENABLED

public final static int

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

MQJMS_MULTICAST_NOT_RELIABLE

public final static int

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.

MQJMS_MULTICAST_RELIABLE

public final static int

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

MQJMS_PER_APP

public final static int

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 behavior.

MQJMS_PER_NON

public final static int

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.

MQJMS_PER_NPHIGH

public final static int

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 WebSphere MQ System Administration Guide for more information about NPMCLASS(HIGH).

MQJMS_PER_PER

public final static int

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

MQJMS_PER_QDEF

public final static int

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

MQJMS_PRI_APP

public final static int

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 behavior.

MQJMS_PRI_QDEF

public final static int

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

MQJMS_PROCESSING_SHORT

public final static int

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 paramter with the MQConnectionFactory.setReceiveIsolation(int) method.

MQJMS_PROCESSING_UNKNOWN

public final static int

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.

MQJMS_RCVISOL_COMMITTED

public final static int

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.

MQJMS_RCVISOL_DEFAULT

public final static int

The default value for the receive isolation property - currently maps to MQJMS_RCVISOL_COMMITTED

MQJMS_RCVISOL_UNCOMMITTED

public final static int

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. Using this value might cause a subscribing application's commit() method or acknowledge() call to fail if a message's original publish is backed out.

MQJMS_SUBSTORE_BROKER

public final static int

This parameter can be passed to MQConnectionFactory.setSubscriptionStore(int) to use the Broker subscription store to hold details of subscriptions.

MQJMS_SUBSTORE_MIGRATE

public final static int

This parameter can be passed to MQConnectionFactory.setSubscriptionStore(int) to use the Migrate subscription to hold details of subscriptions.

MQJMS_SUBSTORE_QUEUE

public final static int

This parameter can be passed to MQConnectionFactory.setSubscriptionStore(int) to use the Queue subscription store to hold details of subscriptions.

MQJMS_TP_BINDINGS_MQ

public final static int

This parameter can be passed to MQConnectionFactory.setTransportType(int) to indicate that the application will connect to the queue manager in bindings mode.

MQJMS_TP_CLIENT_MQ_TCPIP

public final static int

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

MQJMS_TP_DIRECT_HTTP

public final static int

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

MQJMS_TP_DIRECT_TCPIP

public final static int

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

MQRCCF_ALREADY_JOINED

public final static int

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.

MQRCCF_DUPLICATE_IDENTITY

public final static int

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.

MQRCCF_DUPLICATE_SUBSCRIPTION

public final static int

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.

MQRCCF_NOT_AUTHORIZED

public final static int

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 authority for the stream queue that it is subscribing to, and put authority for the queue that publications 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.

MQRCCF_NOT_REGISTERED

public final static int

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.

MQRCCF_REG_OPTIONS_ERROR

public final static int

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.

MQRCCF_SUB_IDENTITY_ERROR

public final static int

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.

MQRCCF_SUB_NAME_ERROR

public final static int

This reason code is returned by a broker to indicate that the subscription name parameter is in the wrong. Either the subscription name is of an invalid 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.

MQRCCF_SUBSCRIPTION_IN_USE

public final static int

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.

MQRCCF_SUBSCRIPTION_LOCKED

public final static int

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.

MQRCCF_TOPIC_ERROR

public final static int

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.

PS_CONTROL_QUEUE

public final static java.lang.String

Default name for the broker control queue. This can be changed using MQConnectionFactory.setBrokerControlQueue(String).

PS_DEF_D_SHARED_QUEUE

public final static java.lang.String

Default name for the JMS durable subscriber queue. This can be altered using MTopic.setBrokerDurSubQueue(String).

PS_DEF_ND_SHARED_QUEUE

public final static java.lang.String

Default name for the JMS nondurable subscriber queue. This can be altered using MQConnectionFactory.steBrokerSubQueue(String).

PS_DEFAULT_STREAM_QUEUE

public final static java.lang.String

Default name for the broker publication queue. This can be changed using MQConnectionFactory.setBrokerPubQueue(String).