By using programming APIs, check to see if a request has been made to stop processing within a message flow.
The three programming APIs (ESQL, Java™, and .NET) have new functions added to them that allows you to check from within a message flow if the flow has been requested to stop. The function in all three APIs returns a Boolean value of true if a request has been made to stop the message flow.
The functions are described as follows:
INSTANCESTOPPING();
Returns true if a request has been made to stop the message flow.
For more information, see INSTANCESTOPPING function.
Static Boolean MbMessageFlow.isInstanceStopping();
Returns true if a request has been made to stop the message flow.
For more information,
see MbMessageFlow Class under Java user-defined extensions API.
Static Boolean NbMessageFlow.InstanceStopping();
Returns true if a request has been made to stop the message flow.
For more information, see NbMessageFlow Class under .NET reference.