camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: how to do that in camel xml ?
Date Thu, 04 Oct 2007 16:14:48 GMT
what was the XML?

On 04/10/2007, Paulo Ramos <paulo.ramos@multicert.com> wrote:
>
> Sorry.
>
>
> SEVERE: Failed: org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'camel:beanPostProcessor': Cannot resolve
> reference to bean 'camel' while setting bean property 'camelContext'; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'camel': Invocation of init method failed; nested
> exception is org.apache.camel.RuntimeCamelException: target provided.
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'camel:beanPostProcessor': Cannot resolve reference to bean
> 'camel' while setting bean property 'camelContext'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'camel': Invocation of init method failed; nested exception is
> org.apache.camel.RuntimeCamelException: target provided.
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'camel': Invocation of init method failed; nested
> exception is org.apache.camel.RuntimeCamelException: target provided.
> Caused by: org.apache.camel.RuntimeCamelException: target provided.
>         at
> org.apache.camel.model.ProcessorType.wrapProcessorInInterceptors(ProcessorType.java:674)
>         at
> org.apache.camel.model.ProcessorType.wrapProcessor(ProcessorType.java:89)
>         at
> org.apache.camel.model.ProcessorType.makeProcessor(ProcessorType.java:660)
>         at org.apache.camel.model.ProcessorType.addRoutes(ProcessorType.java:80)
>         at org.apache.camel.model.RouteType.addRoutes(RouteType.java:161)
>         at org.apache.camel.model.RouteType.addRoutes(RouteType.java:89)
>         at org.apache.camel.model.RouteType.addRoutes(RouteType.java:80)
>         at
> org.apache.camel.spring.CamelContextFactoryBean.installRoutes(CamelContextFactoryBean.java:208)
>         at
> org.apache.camel.spring.CamelContextFactoryBean.afterPropertiesSet(CamelContextFactoryBean.java:100)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at
> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:733)
>         at
> org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:511)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:337)
>         at
> org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:91)
>         at
> org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:75)
>         at
> org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:65)
>         at
> org.apache.camel.spring.Main.createDefaultApplicationContext(Main.java:229)
>         at org.apache.camel.spring.Main.doStart(Main.java:223)
>         at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:48)
>         at org.apache.camel.spring.Main.run(Main.java:81)
>         at org.apache.camel.spring.Main.run(Main.java:72)
>         at org.apache.camel.example.main.Main.main(Main.java:14)
>
>
> Paulo Ramos
> --
> View this message in context: http://www.nabble.com/how-to-do-that-in-camel-xml---tf4562649s22882.html#a13043318
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


-- 
James
-------
http://macstrac.blogspot.com/

Open Source SOA
http://open.iona.com

Mime
View raw message