Home
Running channels and listeners as trusted applications
If performance is an important consideration in your environment and your environment is stable, we can choose to run your channels and listeners as trusted, that is, using the fastpath binding. There are two factors that influence whether or not channels and listeners run as trusted:
- The environment variable MQ_CONNECT_TYPE=FASTPATH or MQ_CONNECT_TYPE=STANDARD. This is case sensitive. If you specify a value that is not valid it is ignored.
- MQIBindType in the Channels stanza of the qm.ini or registry file. We can set this to FASTPATH or STANDARD and it is not case-sensitive. The default is STANDARD.
We can use MQIBindType in association with the environment variable to achieve the required effect as follows:
MQIBindType Environment variable Result STANDARD UNDEFINED STANDARD FASTPATH UNDEFINED FASTPATH STANDARD STANDARD STANDARD FASTPATH STANDARD STANDARD STANDARD FASTPATH STANDARD FASTPATH FASTPATH FASTPATH In summary, there are only two ways of actually making channels and listeners run as trusted:
- By specifying MQIBindType=FASTPATH in qm.ini or registry and not specifying the environment variable.
- By specifying MQIBindType=FASTPATH in qm.ini or registry and setting the environment variable to FASTPATH.
You are recommended to run listeners as trusted, because listeners are stable processes. You are recommended to run channels as trusted, unless you are using unstable channel exits or the command STOP CHANNEL MODE(TERMINATE).
Parent topic:
Other things to consider
ic12700_
Home