I have this route:

        from("direct:writeToFile")
                .setHeader(Exchange.FILE_NAME, constant(
"processed-${in.header.session_id"}*.txt*" ))
                .to( "file:target/reports" )
        ;

the .txt is ignored and the file names look like:

processed-bcfaa932-4d13-4df0-88b8-de5e500e6d06


How can I make the file names like:
processed-bcfaa932-4d13-4df0-88b8-de5e500e6d06*.txt*


---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (855) BASE-LOGIC: (227-3564-42)
p. (478) BASE-LOGIC (227-3564-42)
f. (855) BASE-LOGIC: (227-3564-42)

Website: http://www.baselogic.com
Blog: http://www.baselogic.com/blog/
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
---

Reply via email to