[ 
https://issues.apache.org/jira/browse/CAMEL-4315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081499#comment-13081499
 ] 

Willem Jiang commented on CAMEL-4315:
-------------------------------------

Which version of Camel are you using, I just did some test on the camel trunk, 
there is no such error.
If you are using camel 2.7.x you may consider to move the camel 2.8.0 (there is 
a setEndpointName() method can be called in CxfBlueprintEndpoint.

Can you provide more information about the your camel route?

> Blueprint namespace handler mismatch in camel-cxf
> -------------------------------------------------
>
>                 Key: CAMEL-4315
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4315
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.7.1, 2.8.0
>            Reporter: Ɓukasz Dywicki
>            Assignee: Willem Jiang
>
> Spring namespace handler for cxfEndpoint element allows setting endpointName 
> property while blueprint ignores this property.
> {code}
> Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: 
> Unable to find property descriptor endpointName on class 
> org.apache.camel.component.cxf.CxfBlueprintEndpoint
>       at 
> org.apache.aries.blueprint.container.BeanRecipe.getPropertyDescriptor(BeanRecipe.java:820)[10:org.apache.aries.blueprint:0.3.1]
>       at 
> org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:802)[10:org.apache.aries.blueprint:0.3.1]
>       at 
> org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:773)[10:org.apache.aries.blueprint:0.3.1]
>       at 
> org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:754)[10:org.apache.aries.blueprint:0.3.1]
>       at 
> org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:720)[10:org.apache.aries.blueprint:0.3.1]
>       at 
> org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)[10:org.apache.aries.blueprint:0.3.1]
>       at 
> org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)[10:org.apache.aries.blueprint:0.3.1]
>       at 
> org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:198)[10:org.apache.aries.blueprint:0.3.1]
>       at 
> org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:137)[10:org.apache.aries.blueprint:0.3.1]
>       at 
> org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentInstance(BlueprintContainerImpl.java:718)[10:org.apache.aries.blueprint:0.3.1]
>       at 
> org.apache.camel.blueprint.BlueprintContainerRegistry.lookup(BlueprintContainerRegistry.java:43)
>       at 
> org.apache.camel.impl.CompositeRegistry.lookup(CompositeRegistry.java:47)
>       at 
> org.apache.camel.impl.PropertyPlaceholderDelegateRegistry.lookup(PropertyPlaceholderDelegateRegistry.java:54)
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to