It is not possible to disable registration of TaskCleanUpProcessEventListener, BAMTaskEventListener, and IdentityProviderAwareProcessListener in jBPM extension. The following three system properties have no effect when set to false:
There are basically three problems here:
- They do not make it into the KieServerState because system properties are filtered and these three do not start with org.kie.server or org.kie.executor.
- Even if the first problem was fixed, they would still not be taken into account because they are retrieved from container configuration instead of context configuration.
- There is probably no good reason why they are stored as configuration properties and so they should be retrieved directly from system properties.