Stopping the thread pool

Stopping the thread pool stops all worker threads. When the worker threads are stopped, no messages in the callout work queue are processed.

To ensure that no in-flight messages are dropped and that the callout work queue does not overflow, when the thread pool is stopped, SOAP Gateway would wait for all in-flight messages to be processed before stopping the thread pool. Likewise, when you shut down the server, SOAP Gateway would stop the thread pool after all in-flight messages are processed.

To stop the thread pool gracefully, use the SOAP Gateway management utility iogmgmt -callout -stoppool command.

To force the thread pool to stop immediately without waiting for messages in the callout work queue to be processed, use the SOAP Gateway management utility iogmgmt -callout -stoppool -force command.

Verify that all worker threads are stopped with the iogmgmt -view -workerthreads command.