camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulo Ramos <paulo.ra...@multicert.com>
Subject Re: how to do that in camel xml ?
Date Thu, 04 Oct 2007 16:21:48 GMT

<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#a13043602
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message