WebSphere Message Brokers
File: as36050_
Writer: Lorraine Waitt

Reference topic

This build: July 31, 2007 21:39:01

bipInitializeUserExits

This is an implementation function exported by the User Exit library (.lel). It is invoked when the execution group starts just after loading the .lel. During invocation of this function, the user’s code should call cciRegisterUserExit to register each user exit provided by that .lel.

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" */
Related concepts
User exits
Related tasks
Developing a user exit
Related reference
cciRegisterUserExit
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:39:01

as36050_ This topic's URL is: