On Oct 1, 2013, at 2:14 AM, Claus Ibsen <[email protected]> wrote:
> You can do
>
> setBody(constant(new File("xxxx")))
That works if the file name is fixed at the time of route construction.
The method I showed using simple and the built in conversion from string to
File will allow you to determine the file name dynamically when the route is
running, which is what I needed in my case.
