When i create instance like below, what are the default values are been set to the which properties? . So that i no need to set values to all the properties unless if it requires to override it.
SpringProcessEngineConfiguration config = new SpringProcessEngineConfiguration();
For example, both the below properties are enabled by default i guess, so i don’t want to set values those properties.
Many properties and there default values are documented here: Process Engine Configuration | docs.camunda.org
In addition, you can check out the sources of ProcessEngineConfigurationImpl and ProcessEngineConfiguration to see for yourself if a value is not documented.
Assuming you are using the Spring Boot Starter, you can simply provide the plugin as a bean and it will be registered automatically, if I recall correctly. But your code looks fine as well.
@thorben we can’t autowire the spin plugin, becuase it doesn’t have any spring annotations. so we have to create instance of the plugin and then set it to processEnginePlugins like below.