Charles,
This can be done by setting the desired file name in the
org.apache.camel.file.name header property before sending the message to
the file: endpoint.
Have a look at http://activemq.apache.org/camel/file.html for a more
complete description and code example.
Regards,
Gert
cmoulliard wrote:
Hi,
Can camel generate dynamically the name of the file to be generated ?
Ex : name of the file to be generated is out.xxxxx.swift
where xxxxx = yyyyMMddHHmmss (y = year, M = month, d = day, H = hour, m =
minute & s = second
Regards,
Charles