camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascal J <jaco...@mipih.fr>
Subject Re: how to do that in camel xml ?
Date Thu, 18 Oct 2007 12:13:17 GMT

Do you realize that you have a typo in the bean name?
In your route you reference a processor bean named "testProcessor" but your
declared bean is named "testeProcessor".

It may or may not be the problem you currently have, I don't know.

Pascal J.


Paulo Ramos wrote:
> 
> <beans xmlns="http://www.springframework.org/schema/beans"
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xsi:schemaLocation="
>        http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>        http://activemq.apache.org/camel/schema/spring
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">
> 
>   <camelContext id="camel"
> xmlns="http://activemq.apache.org/camel/schema/spring">
>     <package>org.apache.camel.example</package>
>   
>   <route>
>     <from uri="file://test"/>
>     <process ref="testProcessor"/>
>     <to uri="log:loggingCategory?level=ERROR"/> 
>   </route>
>  
>   </camelContext>
> 
>   <bean id="testeProcessor"
> class="org.apache.camel.example.spring.TestProcessor"/> 
> 
> </beans>
> 

-- 
View this message in context: http://www.nabble.com/how-to-do-that-in-camel-xml---tf4562649s22882.html#a13272207
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message