camunda-platform-7-camel
camunda-platform-7-camel copied to clipboard
CamelBlueprintELResolver not detected
Hi,
I try to use the Camel integration inside Camunda with Blueprint. For more information, I create a ProcessApplication with the annotation and I declare the process engine via processes.xml.
And for sure, I create the specific EL resolver for Camel:
It seems that the ProcessApplicationElResolverDelegate doesn't find the ProcessApplicationReference. Context.getCurrentProcessApplication() returns null.
Any idea? Missing configuration?
I see that the ProcessApplicationReference is expected to be stored in a ThreadLocal, but for each request it's a different thread...
Form your question I gather that you are using an OsgiProcessApplication?
Yes I created a class extending OsgiProcessApplication.
I have the following error: "Unknown property used in expression: #{camel.sendTo('direct:syncService')}. Cause: Cannot resolve identifier 'camel'"
It's probably due to the fact that the CamelBlueprintELResolver is not detected. But I declared the CamelBlueprintELResolver bean.
I think the CamelBlueprintELResolver is exposed by the class OsgiProcessApplication.
Can you tell why I have this error ? Do I forget to configure something ? How is the CamelBlueprintELResolver detected ? And used by ? ProcessApplicationElResolverDelegate ?
Could you show us (part of) your context.xml?
Yes I created a class extending OsgiProcessApplication.
I have the following error: "Unknown property used in expression: #{camel.sendTo('direct:syncService')}. Cause: Cannot resolve identifier 'camel'"
It's probably due to the fact that the CamelBlueprintELResolver is not detected. But I declared the CamelBlueprintELResolver bean.
I think the CamelBlueprintELResolver is exposed by the class OsgiProcessApplication.
Can you tell why I have this error ? Do I forget to configure something ? How is the CamelBlueprintELResolver detected ? And used by ? ProcessApplicationElResolverDelegate ?
Hii jack have you find any solution