-
Task
-
Resolution: Not a Bug
-
Major
-
None
-
fuse-7.4-GA
-
None
-
%
-
camel bundle is failing when making use of cm:propertyplaceholder and
@PropertyInject("xxx.yyy")
stacktrace:
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean .camelBlueprint.factory.tester at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:593) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:703) ---------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------ Caused by: org.apache.camel.NoSuchBeanException: Cannot lookup: routes from registry: org.apache.camel.blueprint.BlueprintContainerRegistry@13d9c237 with expected type: interface org.apache.camel.RoutesBuilder due: Cound not create component instance for routes ----------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------- Caused by: org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException: Property with key [xxx.yyy] not found in properties from text: {{xxx.yyy}} at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1830)
Issue is intermittent. Success,failure logs attached. Test case also attached