WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
bipTerminateUserExits
bipInitializeUserExits is an implementation function exported by the User Exit library (.lel file).
This function is called just before unloading the .lel file, which typically happens when the execution group process is stopping. When this function runs, your exit code must clean up all resources that were allocated during the bipInitializeUserExits function.
If this function is not exported, the .lel file fails to load. You cannot call other utility functions while bipTerminateUserExits is running. This function is started on the same thread as the bipInitializeUserExits function.
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" */