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


Check if a message flow has been requested to stop

By using programming APIs, check to see if a request has been made to stop processing within a message flow.

About this task

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:

ESQL
INSTANCESTOPPING();

Returns true if a request has been made to stop the message flow.

For more information, see INSTANCESTOPPING function.

Java
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.

.NET
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.


bj58390_.htm | Last updated 2019-07-13 08:13:49