Setting the WebSphere MQ environment on Linux and UNIX

On Linux® and UNIX only, configure an integration node to use the specified WebSphere® MQ environment.

In addition to the scripts that you must run, described in Enhanced flexibility in interactions with WebSphere MQ, on Linux and UNIX systems only, you must configure the WebSphere MQ environment where you want the integration node to run before you start it. If you do not set the environment, then your integration node might not run in the expected location.

Set the environment by using the WebSphere MQ setmqenv command; for more information see setmqenv in the WebSphere MQ product documentation. For example, if you want the integration node to use the WebSphere MQ installation path /opt/mqm:
. /opt/mqm/setmqenv -s -x 64
Because the setmqenv is not persistent, you can create an IBM Integration Bus common profile to run this command in either of the following ways:
  • Run setmqenv when mqsiprofile is run.
  • Run setmqenv when the integration node is started.