Claus Ibsen-2 wrote:
>
> On Tue, Mar 23, 2010 at 8:16 AM, Kameltreiber
> wrote:
>>
>> Hi,
>> i just try to write a xml result from a http request to a file.
>> I'd like to use Java DSL
>> at the moment it looks like this
>>
>
Hi,
i just try to write a xml result from a http request to a file.
I'd like to use Java DSL
at the moment it looks like this
from("http://example.com/";)
.setHeader(Exchange.FILE_NAME, constant("report.xml"))
.to("file:target/reports");
I alreday checked the result, and there i