Hi
Just set a header with the file name you want, for example the keep
using he message id,
setHeader(Exchange.FILE_NAME, constant("${id}.xml"))
On Thu, Sep 12, 2013 at 9:41 AM, Mohammad Shadab Ali
wrote:
> Hi,
>
> File producer uses a unique id as file name when filename header is not set,
>
Hi,
File producer uses a unique id as file name when filename header is not set,
with no extension. My requirement is to add xml extension to the file in
producer. Is there a way to configure this in the file producer.
Thanks for your help.
Regards,
Shadab
*