XMSC_WMQ_SHARE_CONV_ALLOWED

    Data type:
    System.Int32

    Property of:
    ConnectionFactory

Whether a client connection can share its socket with other top-level XMS connections from the same process to the same queue manager, if the channel definitions match. This property is provided to allow complete isolation of Connections in separate sockets if required for application development, maintenance, or operational reasons. Setting this property merely indicates to XMS to make the underlying socket shared. It does not indicate how many connections shares a single socket. The number of connections sharing a socket is determined by SHARECNV value which is negotiated between IBM MQ client and IBM MQ server.

An application can set the following named constants to set the property:

  • XMSC_WMQ_SHARE_CONV_ALLOWED_FALSE - Connections do not share a socket.
  • XMSC_WMQ_SHARE_CONV_ALLOWED_TRUE - Connections share a socket.

By default the property is set to XMSC_WMQ_SHARE_CONV_ALLOWED_ENABLED.

This property is relevant only when an application connects to a queue manager in client mode.

Parent topic: Property definitions