camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CAMEL-563) "cxf" name conflict in the spring context
Date Fri, 30 May 2008 12:12:00 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang reassigned CAMEL-563:
----------------------------------

    Assignee: Willem Jiang

> "cxf" name conflict in the spring context
> -----------------------------------------
>
>                 Key: CAMEL-563
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-563
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>            Reporter: Freeman Fang
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>
> When I try to use camel-cxf component in smx4, I still get exceptions like
>  Exception in thread "SpringOsgiExtenderThread-9" org.apache.camel.ResolveEndpointFailedException:
Failed to resolve endpoint: cxf:bean:routerEndpoint due to: org.apache.camel.RuntimeCamelException:
Could not auto create component: cxf
>         at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:262)
>         at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:52)
>         at org.apache.camel.model.RouteType.resolveEndpoint(RouteType.java:90)
>         at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:98)
>         at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:104)
>         at org.apache.camel.model.FromType.resolveEndpoint(FromType.java:67)
>         at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:73)
>         at org.apache.camel.model.RouteType.addRoutes(RouteType.java:204)
>         at org.apache.camel.model.RouteType.addRoutes(RouteType.java:81)
>         at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:451)
>         at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:443)
>         at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:149)
>         at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:47)
>         at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:103)
>         at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
>         at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
>         at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
>         at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:275)
>         at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
>         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.finishRefresh(AbstractDelegatedExecutionApplicationContext.java:271)
>         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:254)
>         at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.camel.RuntimeCamelException: Could not auto create component: cxf
>         at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:149)
>         at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:233)
>         ... 22 more
> Caused by: java.lang.IllegalArgumentException: Bean with name: cxf in registry is not
a Component: org.apache.cxf.bus.CXFBusImpl@3ca56f
>         at org.apache.camel.osgi.OsgiComponentResolver.resolveComponent(OsgiComponentResolver.java:167)
>         at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:138)
>         ... 23 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message