You can set a header with each of the details from the xml

<setHeader 
headerName="location"><xpath>message/location/text()</xpath></setHeader>
...

And then refer to these headers in the file uri
fileName=xxxx-${header.location}-${header.xxxx}


On Mon, Oct 22, 2012 at 4:26 PM, wcpolicarpio
<walter.policar...@morgansolar.com> wrote:
> Hi Willem,
>
> I am pretty new to Camel, can you please give me an example based on my
> activemq message body?
>
> Thanks,
> Walter
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Dynamic-File-Name-tp5721316p5721394.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to