Hi, am trying to pass information between two camel apps via file. I
envisioned a way to redirect a message (body and headers) to a file and then
have the second app consume that file as a message (just as if it had
originated on the second system).
I tried just sending the original message to the file component, but only
the message gets output (no headers). I figured the solution was to marshal
to/from xstream but this just puts the message in xml (no headers again):
from ("direct:tofile").marshal().xstream().to("file:outbox");
What is the easiest/best way to marshal a message (body and headers, dont
need attachments) to a file?
Thanks,
-J
--
View this message in context:
http://camel.465427.n5.nabble.com/Message-Headers-to-file-component-tp5720327.html
Sent from the Camel - Users mailing list archive at Nabble.com.