The cciTransactionEventCallback function can be registered as a callback and is called every time a message flow transaction ends.
This function is called for every message flow transaction within the integration server where the callback was registered, if the user exit state is active. The callback is registered by providing a pointer to the function in the iFpTransactionEventCallback field of the CCI_UE_VFT struct passed to cciRegisterUserExit.
typedef void (*cciTransactionEventCallback) (
CciDataContext* userContext,
CciTransactionEventType type,
CciMessage* environment,
CciNode* inputNode);
A transaction has been successfully committed.
A transaction has been rolled back.
void myTransactionEventCallback(
CciDataContext* userContext,
CciTransactionEventType type,
CciMessage* environment,
CciNode* inputNode){
…
…
}