CONNOPT

Controls how IBM MQ classes for JMS applications that use the bindings transport connect to the queue manager.


Applicable Objects

ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory, XAConnectionFactory, XAQueueConnectionFactory, XATopicConnectionFactory.

JMS administration tool long name: CONNOPT

JMS administration tool short name: CNOPT


Programmatic access

Setters/getters

  • MQConnectionFactory.setMQConnectionOptions()
  • MQConnectionFactory.getMQConnectionOptions()


Values

    STANDARD
    The nature of the binding between the application and the queue manager depends on the value of the DefaultBindType attribute of the queue manager. The STANDARD value maps to the IBM MQ ConnectOption MQCNO_STANDARD_BINDING.

    SHARED
    The application and the local queue manager agent run in separate units of execution but share some resources. This value maps to the IBM MQ ConnectOption MQCNO_SHARED_BINDING.

    ISOLATED
    The application and the local queue manager agent run in separate units of execution and share no resources. The ISOLATED value maps to the IBM MQ ConnectOption MQCNO_ISOLATED_BINDING.

    FASTPATH
    The application and the local queue manager agent run in the same unit of execution. This value maps to the IBM MQ ConnectOption MQCNO_FASTPATH_BINDING.

    SERIALQM
    The application requests exclusive use of the connection tag within the scope of the queue manager. This value maps to the IBM MQ ConnectOption MQCNO_SERIALIZE_CONN_TAG_Q_MGR.

    SERIALQSG
    The application requests exclusive use of the connection tag within the scope of the queue sharing group to which the queue manager belongs. The SERIALQSG value maps to the IBM MQ ConnectOption MQCNO_SERIALIZE_CONN_TAG_QSG.

    RESTRICTQM
    The application requests shared use of the connection tag, but there are restrictions on the shared use of the connection tag within the scope of the queue manager. This value maps to the IBM MQ ConnectOption MQCNO_RESTRICT_CONN_TAG_Q_MGR.

    RESTRICTQSG
    The application requests shared use of the connection tag, but there are restrictions on the shared use of the connection tag within the scope of the queue sharing group to which the queue manager belongs. This value maps to the IBM MQ ConnectOption MQCNO_RESTRICT_CONN_TAG_QSG.

For further information on IBM MQ connection options, see Connect to a queue manager using the MQCONNX call.

Parent topic: Properties of IBM MQ classes for JMS objects