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

Dmitri commented on CAMEL-14042:
--------------------------------

I believe I was not clear enough.

I have sample code in blueprint.xml for OSGI:
{code:java}
<camelContext ...>
    <route id="testbean-route">
        <to 
uri="cxfbean:testbean?providers=#providers&amp;headerFilterStrategy=#testfilter"/>
    </route>
</camelContext>
{code}
I get timeout error in Karaf:
{code:java}
Unable to start container for blueprint bundle my.bundle/1.0.0 due to 
unresolved dependencies 
[(&(component=cxfbean)(objectClass=org.apache.camel.spi.ComponentResolver))]
java.util.concurrent.TimeoutException: null
 at 
org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:393)
 [18:org.apache.aries.blueprint.core:1.10.2]
 at 
org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:45)
 [18:org.apache.aries.blueprint.core:1.10.2]
{code}
This tells that cxfbean component does not exist anymore.

 

> cxfbean component was deprecated and removed in Camel 3
> -------------------------------------------------------
>
>                 Key: CAMEL-14042
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14042
>             Project: Camel
>          Issue Type: Task
>          Components: camel-cxf
>            Reporter: Dmitri
>            Priority: Major
>
> cxfbean component was deprecated in 
> https://github.com/apache/camel/commit/fc0bdfbdaeb958a9867399402018367fd433dc1a#diff-7e68745eb4eae65d2a98716ba8f16fb2
> and removed in Camel 3.
> Is there an option to use that feature in Camel 3 or migration guide?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to