You can use the message id as the file name, as its unique

to("file:outbox?fileName=${id}.xml")


On Wed, May 9, 2012 at 4:51 PM, alexis229 <alexis.poirier...@gmail.com> wrote:
> Sorry i didn't know. I can re-create my post if you want...
>
> Well, i know that I can create my own file name with the option "fileName"
> but it didn't create differents files.
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Split-XML-file-tp5697441p5697615.html
> Sent from the Camel Development mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to