Using channel exits not written in Java with IBM MQ classes for Java

How to use channel exit programs written in C from a Java application.

In IBM® MQ, you can specify the name of a channel exit program written in C as a String passed to the channelSecurityExit, channelSendExit, or channelReceiveExit fields in the MQEnvironment object or properties Hashtable. However, you cannot use a channel exit written in Java in an application written in another language.

Specify the exit program name in the format library(function) and ensure that the location of the exit program is specified as described in Path to exits.

For information about how to write a channel exit in C, see Channel-exit programs for messaging channels.