WebSphere Message Brokers
File: as36060_
Writer: Lorraine Waitt

Reference topic

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

bipTerminateUserExits

This is an implementation function exported by the User Exit library (.lel). It is invoked just before unloading the .lel which typically happens when the execution group process is stopping. During invocation of this function, the user’s code should clean-up any resources allocated during the bipInitializeUserExits function. If this function is not exported, then the .lel fails to load. It is not valid to call any utility functions during invocation of bipTerminateUserExits. This function is invoked on the same thread as bipInitializeUserExits.

Syntax

void bipTerminateUserExits()

Parameters

None.

Return values

None.

Example

extern "C"{

void bipTerminateUserExits(){
  /*Here, we clean up any resources, e.g. 
         spawned threads, file handles, sockets  */
  freeResources();
}

}/*end of extern "C" */
Related concepts
User exits
Related tasks
Developing a user exit
Related reference
bipInitializeUserExits
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:02

as36060_ This topic's URL is: