The cciInputMessageCallback function can be registered as a callback and is called every time a message is read by an input node, and before that message is propagated down the message flow.
The cciInputMessageCallback function is called for every input message that is read in the integration server where the callback is registered, if the user exit state is active. The callback is registered by providing a pointer to the function as the iFpInputMessageCallback field of the CCI_UE_VFT struct that is passed to cciRegisterUserExit.
typedef void (*cciInputMessageCallback) (
CciDataContext* userContext,
CciMessage* message,
CciMessage* localEnvironment,
CciMessage* exceptionList,
CciMessage* environment,
CciMessageOrigin messageOrigin,
CciNode* inputNode);
None.
void myInputMessageCallback(
CciDataContext* userContext,
CciMessage* message,
CciMessage* localEnvironment,
CciMessage* exceptionList,
CciMessage* environment,
CciMessageOrigin messageOrigin,
CciNode* inputNode){
…
…
}