I trying to deploy apache-camel-spring project endpoint in fuse 6 but it
throws following exception.

I searched and found similar question but no answer.

Similar Question
<http://stackoverflow.com/questions/19188622/no-bean-could-be-found-in-the-registry-for-of-type>
  
 
**I think  Claus Ibsen <http://stackoverflow.com/users/406429/claus-ibsen>  
is the right person to sort this issue.**

Your help is greatly appreciated.

**Route**

        <route id="ws-to-iftdgn-route"  routePolicyRef="cronSchedulePolicy"
autoStartup="false">
                 <from uri="cxf:bean:convertIftdgnToEDIService-ws"/>
                 <to
uri="activemq:queue:cusdec.edi.iftdgn.update.outbound.messages?jmsMessageType=Text"/>
        </route>

**End Point**

        <cxf:cxfEndpoint id="convertIftdgnToEDIService-ws"
                address="http://192.168.1.110:9191/convertIftdgnToEDI";
endpointName="convertor:ConvertIftdgnToEDIServiceEP"
                serviceName="convertor:ConvertIftdgnToEDIService"
        
wsdlURL="http://192.168.1.110:9191/convertIftdgnToEDI/ConvertIftdgnToEDIService?wsdl";
        
xmlns:convertor="http://com.privasia.edi.iftdgn.89A/wsdl/ConvertIftdgnToEDIService/";
/>


**Stack Trace**

                    11:09:27,995 | ERROR | xtenderThread-16 | 
ContextLoaderListener           
| 132 - org.springframework.osgi.extender - 1.2.1 | Application context
refresh failed  
(OsgiBundleXmlApplicationContext(bundle=com.privasia.edi.iftdgn.edi-ws-client,  
config=osgibundle:/META-INF/spring/*.xml))
                  org.apache.camel.RuntimeCamelException:
org.apache.camel.FailedToCreateRouteException:   Failed to create route
ws-to-iftdgn-route:  Route[[From[cxf:bean:convertIftdgnToEDIService-ws]] ->
[OnEx... because of Failed to   resolve endpoint:
cxf://bean:convertIftdgnToEDIService-ws due to: No bean could be found in
the registry for: convertIftdgnToEDIService-ws of type:
org.apache.camel.component.cxf.CxfEndpoint
                        at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1326)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]
                        at
org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:283)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]
                        at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[106:org.springframework.context:3.1.3.RELEASE]
                        at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)[106:org.springframework.context:3.1.3.RELEASE]
                        at
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)[106:org.springframework.context:3.1.3.RELEASE]
                        at
org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[133:org.springframework.osgi.core:1.2.1]
                        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[133:org.springframework.osgi.core:1.2.1]
                        at
org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[133:org.springframework.osgi.core:1.2.1]
                        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[133:org.springframework.osgi.core:1.2.1]
                        at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[132:org.springframework.osgi.extender:1.2.1]
                        at java.lang.Thread.run(Thread.java:724)[:1.7.0_25]
                Caused by: org.apache.camel.FailedToCreateRouteException: 
Failed to create
route ws-to-iftdgn-route:
Route[[From[cxf:bean:convertIftdgnToEDIService-ws]] -> [OnEx... because of
Failed to resolve endpoint: cxf://bean:convertIftdgnToEDIService-ws due to:
No bean could be found in the registry for: convertIftdgnToEDIService-ws of
type: org.apache.camel.component.cxf.CxfEndpoint
                        at
org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:177)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:731)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1803)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1589)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1453)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]
                        at
org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1421)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]
                        at
org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)[137:org.apache.camel.camel-spring:2.10.0.redhat-60024]
                        ... 10 more
                Caused by: org.apache.camel.ResolveEndpointFailedException: 
Failed to
resolve endpoint: cxf://bean:convertIftdgnToEDIService-ws due to: No bean
could be found in the registry for: convertIftdgnToEDIService-ws of type:
org.apache.camel.component.cxf.CxfEndpoint
                        at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:488)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:61)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:187)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:72)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:90)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:857)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:172)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        ... 19 more
                Caused by: org.apache.camel.NoSuchBeanException: No bean could 
be found in
the registry for: convertIftdgnToEDIService-ws of type:
org.apache.camel.component.cxf.CxfEndpoint
                        at
org.apache.camel.util.CamelContextHelper.mandatoryLookup(CamelContextHelper.java:141)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.component.cxf.CxfComponent.createEndpoint(CxfComponent.java:70)[194:org.apache.camel.camel-cxf:2.10.0.redhat-60024]
                        at
org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:91)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:469)[130:org.apache.camel.camel-core:2.10.0.redhat-60024]
                        ... 27 more





--
View this message in context: 
http://camel.465427.n5.nabble.com/No-bean-could-be-found-in-the-registry-for-convertIftdgnToEDIService-ws-of-type-org-apache-camel-comt-tp5743347.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to