camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Roger <olivier.ro...@bsb.com>
Subject Split Body in Spring DSL
Date Sun, 18 Apr 2010 18:28:59 GMT

Hello Camel!

I am currently reading the "Camel in Action" book, where I found an example
to unmarshal a csv file.

The example is in Java DSL and I can't found the similar Spring DSL
expression to .split(body())

The full Java example is 

.from("...").unmarchal().csv().split(body()).to("...");

Here is my Spring DSL route

		<route>
		 	<from uri="direct:csv" />
		 	<unmarshal><csv /></unmarshal>
		 	<split>	
		 		<??? />
			 	<to uri="mock:csv" />
		 	</split>
		</route>

Thanks in advance for your help !

Olivier
-- 
View this message in context: http://old.nabble.com/Split-Body-in-Spring-DSL-tp28284152p28284152.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message