You declare a user exit by
using the bipInitializeUserExits function to specify the following things:
Name (used to register and control the active state of the exit)
User context storage
A function to be invoked (for one or more Event Types)
Implement the user exit behavior
When the user exit
is declared, a set of functions is registered, and these functions are invoked
when specific events occur. The behavior of the user exit is provided by implementing
these functions. The following table lists the events and their associated
functions:
Event
Function
Message dequeued from input source
cciInputMessageCallback
Message propagated to node for processing
cciPropagatedMessageCallback
Node completed processing
cciNodeCompletionCallback
Transaction ended
cciTransactionEventCallback
Implement the cleanup function
The user exit library
must implement the bipTerminateUserExits function. This function is invoked
as the ExecutionGroup's process is ending, which allows you to
clear up any resources allocated during the bipInitializeUserExits function.