I created a simple java main app which instantiates a ProcessEngine using ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration().
This engine connects to the database and executes tasks.
Under certain conditions i want to shutdown the application in a controlled manner, this is, without interrupting any ongoing task.
Is there a graceful shutdown in the ProcessEngine java api?
Thanks @Ingo_Richtsmeier for your response, that thread is really interesting,
I’m surprised its not mentioned ProcessEngineConfigurationImpl#shutdown method because it looks like performing the graceful shutdown we are looking for, I will reply there to see what they think.