camunda-platform-7-camel icon indicating copy to clipboard operation
camunda-platform-7-camel copied to clipboard

CamelBlueprintELResolver not detected

Open wiax opened this issue 10 years ago • 4 comments

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...

wiax avatar Jan 27 '15 14:01 wiax

Form your question I gather that you are using an OsgiProcessApplication?

meyerdan avatar Jan 27 '15 15:01 meyerdan

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 ?

wiax avatar Jan 27 '15 15:01 wiax

Could you show us (part of) your context.xml?

rbraeunlich avatar Jan 28 '15 19:01 rbraeunlich

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

Bitsfloww avatar Jun 21 '24 08:06 Bitsfloww