TRANSPORT

The nature of a connection to a queue manager or broker.

Applicable Objects

ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory, XAConnectionFactory, XAQueueConnectionFactory, XATopicConnectionFactory

JMS administration tool long name: TRANSPORT

JMS administration tool short name: TRAN

Programmatic access

Setters/getters

  • MQConnectionFactory.setTransportType()
  • MQConnectionFactory.getTransportType()

Values

BIND
For a connection to a queue manager in bindings mode. This is the default value for administrative tools.

In this mode, a local connection is made to the queue manager that is named by the QMANAGER property. However, if you also specify the CCDTURL client mode property, the CCDTURL property takes precedence (for compatibility with earlier versions of IBM® MQ). A client mode connection is made to the queue manager that is specified in the CCDT file instead.

If you set other properties that are specific to client mode, such as CHANNEL, those properties are ignored.

For programs, use WMQConstants.WMQ_CM_BINDINGS.
CLIENT
For a connection to a queue manager in client mode.

The connection is controlled by one of the following properties or property combinations: CONNECTIONNAMELIST, HOSTNAME and PORT, or CCDTURL.

For programs, use WMQConstants.WMQ_CM_CLIENT.
DIRECT
For a real-time connection to a broker not using HTTP tunnelling.
For programs, use WMQConstants.WMQ_CM_DIRECT_TCPIP.
DIRECTHTTP
For a real-time connection to a broker using HTTP tunnelling. Only HTTP 1.0 is supported.
For programs, use WMQConstants.WMQ_CM_DIRECT_HTTP.