camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hilde <>
Subject How to save a File from Body to disk
Date Thu, 10 May 2012 11:20:18 GMT
Hi folks!

The intention is to save a file from the message body to a directory on the
file system.
Unfortunately I am not able to save a file that sits inside the body to save
to disk via file component. What I am doing wrong?

<camel:endpoint id="errorFileMove"

  <camel:to ref="errorFileMove"/>

At the beginning after the file consumer has detected the file it is saved
to the message header
and in the end the body is equiped with that header in order to save the
file to disk via the file component. It does not work.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message