IBM Integration Bus, Version 10.0.0.1 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


bipInitializeUserExits

bipInitializeUserExits is an implementation function that is exported by the User Exit library (.lel file).

This function is called when the integration server starts, just after loading the .lel file. When this function runs, your exit code must call cciRegisterUserExit to register each user exit provided by that .lel file.

Syntax

void bipInitializeUserExits()

Parameters

None.

Return values

None.

Example

extern "C"{

void bipInitializeUserExits(){

  int rc = CCI_SUCCESS;
  CCI_UE_VFT myVft = {CCI_UE_VFT_DEFAULT};
  myVft.iFpInputMessageCallback      = myInputMessageCallback;
  myVft.iFpTransactionEventCallback  = myTransactionEventCallback;
  myVft.iFpPropagatedMessageCallback = myPropagatedMessageCallback;
  myVft.iFpNodeCompletionCallback    = myNodeCompletionCallback;
  
  cciRegisterUserExit(&rc,
                      MyConstants::myUserExitName,
                      0,
                      myVft);

  /*we should now check the rc for unexpected values*/
  
  return;
}

}/*end of extern "C" */

as36050_.htm | Last updated 2015-05-28 20:51:52