Post removed

Latest response

Post removed

Responses

It looks like the ${date} macro is not supported with doneFileName. For example, according to the Camel doc for the File2 component, https://camel.apache.org/file2.html, only ${file:name} and ${file:name.noext} are supported:

However it is more common to have one done file per target file. This means there is a 1:1 correlation. To do this you must use dynamic placeholders in the doneFileName option. Currently Camel supports the following two dynamic tokens: file:name and file:name.noext which must be enclosed in ${}.

I don't understand why you want to replace fileName with doneFileName in your example, however. These parameters are not equivalent.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.