I have a question regarding a possible manual shutdown of the camunda startup process due to an exception. This is my case:
I have a process engine plugin that tries to initiate a schema and tables in the same database that camunda is using. If the schema and tables can’t be initiated, then the whole startup process of camunda is supposed to be stopped.
Would a simple processEngineConfiguration.getProcessEngine().close(); be the correct way to achieve this?
No, it’s a wildfly setup. What would processEngineConfiguration.getProcessEngine().close(); achieve within the preInit() method of the ProcessEnginePlugin?