channel exits, ExitsDefaultPath, building applications for WebSphere MQ clients, MQI, linking applications for WebSphere MQ clients" /> Path to exits
Home

 

Path to exits

On UNIX systems, an

mqs.ini file is added to your system (in /var/mqm) during installation of the WebSphere MQ client. A default path for location of the channel exits on the client is defined in this file, using the stanza:

  ClientExitPath:
    ExitsDefaultPath=<defaultprefix>/exits

where

<defaultprefix> is the value defined for your system in the DefaultPrefix stanza of the

mqs.ini file.

On Windows, the default path for location of the channel exits is C:\\IBM\Websphere MQ\exits. This location is set using the

HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\
ClientExitPath\ExitsDefaultPath

setting in the registry.

When a channel is initialized, after an MQCONN or MQCONNX call, the

mqs.ini file or Registry is searched. The ClientExitPath stanza is read and any channel exits that are specified in the channel definition are loaded.



 

Home