Error policy for managing threads

You can specify an error policy to control how SOAP Gateway continues to poll callout request messages if an error occurs.

Errors might occur when the main thread is polling callout messages from the IMS OTMA tpipe or when it waits for the response message from the web service. Errors might also occur when messages are still being processed while the SOAP Gateway server is shut down.

Use the SOAP Gateway management utility to configure these error handling settings.

Errors during callout message polling

The shouldStopRTOnError property setting determines if the main thread ignores the error and continues to poll callout messages. If the shouldStopRTOnError property is set to true, the thread that encounters the error stops and no longer continues to poll callout request messages from its tpipe.

If the shouldStopRTOnError property is set to false, the thread skips the error, discards the message, and continues to poll callout request messages from its tpipe.

In-flight message handling when the thread pool is stopped

When the thread pool is stopped by using the iogmgmt -callout -stoppool command, all in-flight messages are processed before the thread pool is stopped. To force the thread pool to stop immediately and discard all pending messages, add the -force option: iogmgmt -callout -stoppool -force.