camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Priyanka <>
Subject File producer issue while zipping files with apache camel
Date Wed, 04 Jan 2017 07:04:06 GMT
I am using Zip data format for zipping files. But the issue is i am not able
to set dynamic file path even when using CamelFileName header.I can
dynamically set the file name but how do i dynamically set the file path
also.Here is my code : 
<routeContext id="zipFileRoute"
<route id="zipFile">
<log message="reading from ${in.header.CamelFileName} and file path is
<setHeader headerName="CamelFileName">
<to uri="file://C:/CdrJson"/>
<log message="This route finished zipping files"/>

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message