SharingConversations (MQLONG)

This field specifies the maximum number of conversations that can share a channel instance associated with this channel.

This field is used on client connection and server-connection channels.

A value of 0 means that the channel operates as it did in versions earlier than IBM® WebSphere MQ Version 7.0 with respect to the following attributes:

  • Conversation sharing
  • Read ahead
  • STOP CHANNEL(channelname) MODE(QUIESCE)
  • Heartbeating
  • Client asynchronous consumption

A value of 1 is the minimum value for IBM MQ V7.0 behavior. Although only one conversation is allowed on the channel instance, read ahead, asynchronous consumption, and the Version 7 behavior of CLNTCONN-SVRCONN heartbeating and quiescent channel stopping are available.

This is an input field to the exit. It is not present if Version is less than MQCD_VERSION_9.

The default value of this field is 10.

Note: MaxInstances and MaxInstancesPerClient limits applied to a channel restrict the number of channel instances, not the number of conversations that might be sharing those instances.