You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
876 B
23 lines
876 B
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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.xsd
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
|
|
">
|
|
|
|
<camelContext id="camel" trace="true" xmlns="http://camel.apache.org/schema/spring">
|
|
|
|
<route>
|
|
<from uri="file://src/test/resources?noop=true&fileName=order.csv"/>
|
|
<unmarshal><csv/></unmarshal>
|
|
<split>
|
|
<!-- use simple language to refer to the body -->
|
|
<simple>body</simple>
|
|
<to uri="mock:queue.csv"/>
|
|
</split>
|
|
</route>
|
|
|
|
</camelContext>
|
|
|
|
</beans>
|