camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: FTP Producer: Filename Header using SimpleLanguage
Date Wed, 05 Feb 2014 15:54:29 GMT
Hi Claus,

Thanks for your help, the header is produced in a processor via Java
before to is invoked:

String filename = "ID_${date:header.timestamp:yyyyMMddHHmm}_mdata.xml";
exchange.getIn().setHeader(Exchange.FILE_NAME, filename);

changing it to
exchange.getIn().setHeader(Exchange.FILE_NAME, new

Regards Robin

View raw message