Dependencies between properties of IBM MQ classes for JMS objects

The validity of some properties is dependent on the particular values of other properties.

This dependency can occur in the following groups of properties:

  • Client properties
  • Properties for a real-time connection to a broker
  • Exit initialization strings

    Client properties
    For a connection to a queue manager, the following properties are relevant only if TRANSPORT has the value CLIENT:

    • HOSTNAME
    • PORT
    • CHANNEL
    • LOCALADDRESS
    • CCDTURL
    • CCSID
    • COMPHDR
    • COMPMSG
    • RECEXIT
    • RECEXITINIT
    • SECEXIT
    • SECEXITINIT
    • SENDEXIT
    • SENDEXITINIT
    • SHARECONVALLOWED
    • SSLCIPHERSUITE
    • SSLCRL
    • SSLFIPSREQUIRED
    • SSLPEERNAME
    • SSLRESETCOUNT
    • APPLICATIONNAME

    We cannot set values for these properties by using the administration tool if TRANSPORT has the value BIND.

    If TRANSPORT has the value CLIENT, the default value of the BROKERVER property is V1 and the default value of the PORT property is 1414. If you set the value of BROKERVER or PORT explicitly, a later change to the value of TRANSPORT does not override your choices.

    Properties for a real-time connection to a broker
    Only the following properties are relevant if TRANSPORT has the value DIRECT or DIRECTHTTP:

    • BROKERVER
    • CLIENTID
    • DESCRIPTION
    • DIRECTAUTH
    • HOSTNAME
    • LOCALADDRESS
    • MAXBUFFSIZE
    • MULTICAST (supported only for DIRECT)
    • PORT
    • PROXYHOSTNAME (supported only for DIRECT)
    • PROXYPORT (supported only for DIRECT)

    If TRANSPORT has the value DIRECT or DIRECTHTTP, the default value of the BROKERVER property is V2, and the default value of the PORT property is 1506. If you set the value of BROKERVER or PORT explicitly, a later change to the value of TRANSPORT does not override your choices.

    Exit initialization strings
    Do not set any of the exit initialization strings without supplying the corresponding exit name. The exit initialization properties are:

    • RECEXITINIT
    • SECEXITINIT
    • SENDEXITINIT

    For example, specifying RECEXITINIT(myString) without specifying RECEXIT(some.exit.classname) causes an error.

Parent topic: Properties of IBM MQ classes for JMS objects


Related reference