Hi all, I am trying to read from an http endpoint and save the content to a
file but the to("file://...") seems to be trying to read the file and not write
to it!
I've looked at all the unit tests and search for an answer but I still can't
figure it out.
from("jetty:http://localhost:8888/hello").setHeader(FileComponent.HEADER_FILE_NAME,
"message.txt").to("file:target/hello");
This should be simple no?
Thanks
Patrick
