Clean Engine shutdown

This feature is only available for JEE version 6 and higher

Problem

In automated environments, Engine Service nodes may start up and close down automatically and may interrupt busy workflows. This will result in tasks being interrupted midway and getting stuck in interim state until they are recovered.

Solution

JEE beans can have a @PreDestroy method that will be run before the node is shut down. This method can then block the process until all engine services have successfully stopped.

Since the EngineServices will be running in other threads, the communication will happen through the persisted status of the EngineNodeServices.

Shutdown

Version

Release Expander version Change
201803 3.2.1.5 implemented

References