camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel Simple expressions in Groovy
Date Sat, 31 Oct 2015 17:22:05 GMT
Try with

.setProperty("bodyBackup", simple("body"))

On Sat, Oct 31, 2015 at 4:40 PM, contactreji <contactreji@gmail.com> wrote:
> Hey
>
> Any Groovy experts out there who has tried writing Camel Simple expression
> in groovy camel routes? Can someone post an example.
>
> I tried
> *rom("file:C:\\Users\\Mathews\\Desktop\\in").log(LoggingLevel.INFO,"BasicRouteLogger","Received
> File").setProperty("bodyBackup",$simple{body}).log("Done ").end()*
>
> but its throwing exceptions
>
> Cheers
> Reji
>
>
>
> -----
> Reji Mathews
> Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & Jboss
Fuse ESB | Mule ESB )
> LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a
> Twitter - reji_mathews
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Simple-expressions-in-Groovy-tp5773187p5773294.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition:
https://www.manning.com/books/camel-in-action-second-edition

Mime
View raw message