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:

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:

  1. By specifying MQIBindType=FASTPATH in qm.ini or registry and not specifying the environment variable.

  2. 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