Add a marshal / converting step.

Best,
Christian

Sent from a mobile device
Am 01.06.2012 01:26 schrieb "MichaelAtSAG" <mebevilac...@gmail.com>:

> I understand that using the Message ID is the default behavior for the
> filename when routing to a file endpoint.
>
> What if you wanted to retain the message id but not use the filename as the
> id? For example, we want the file output like this:
>
> <message>
>  <header>
>     <MessageID>ID-MCMICHAELB03-59827-1338399528529-12-2</MessageID>
>   </header>
>   <body>
>      <camel body>
>   </body>
> </message>
>
> Would you suggest a "marshall" step to accomplish this pattern?
>
> Or would you place the MessageID into the camel Message body?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Passing-Camel-Message-Headers-to-File-Endpoint-tp5713737p5713813.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to