Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.23.0
-
None
-
Unknown
Description
When the AbstractCamelWorkItemHandler is created before the referenced CamelContext is created and registered, deployment of a KJAR fails with an IllegalArgumentException.
This can happen when the deployment uses a combination of a Singleton RuntimeStrategy and a Deployment-scoped CamelContext. This is due to the fact that the jBPM KIE-Server extension runs after the jBPM extension.
In such a situation we need to defer the creation of the ProducerTemplate until the first call to WIH.execute.
Attachments
Issue Links
- links to