I have following JAVA DSL:

from("timer://myTimer?period=2000")
.setBody().simple("Current time is ${header.firedTime}")
.to("stream:out");

how can I converted the first and third lines to Spring DSL:

        <from uri="timer://myTimer?fixedRate=true&amp;period=2000" />

        <to uri="stream:out"/>

How can I convert .setBody().simple("Current time is ${header.firedTime}")
to Spring DSL.

Thanks


--
View this message in context: 
http://camel.465427.n5.nabble.com/converting-form-JAVA-DSL-to-Spring-DSL-tp5011220p5011220.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to