If you have xml autocompletion in your IDE, you should use it.
<setBody>
<simple>Current time is ${header.firedTime}</simple>
</setBody>
Bilgin
On Mon, Nov 21, 2011 at 5:55 PM, newbiee <[email protected]> wrote:
> 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&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.
>