camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Passing Camel Message Headers to File Endpoint
Date Fri, 01 Jun 2012 06:17:32 GMT
Add a marshal / converting step.

Best,
Christian

Sent from a mobile device
Am 01.06.2012 01:26 schrieb "MichaelAtSAG" <mebevilacqua@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message