[ 
https://issues.apache.org/jira/browse/CAMEL-12973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino updated CAMEL-12973:
-------------------------------------
    Fix Version/s: 2.23.1
                   2.24.0

> AbstractCamelWorkItemHandler init fails when WIH is loaded before 
> CamelContext is created.
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-12973
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12973
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbpm
>    Affects Versions: 2.23.0
>            Reporter: Duncan Doyle
>            Assignee: Maciej Swiderski
>            Priority: Major
>             Fix For: 2.24.0, 2.23.1
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to