With the File component, I used to be able to get a file like "abc.def.zip"
get picked up
with a trigger file called "abc.def.trigger".
My route would be this:
from("file:/folder?doneFileName=$simple{file:name.noext}.trigger")
I was using Camel version 2.14.0
When I tried to upgrade to 2.15.2 and even 2.14.3, this doesn't work
anymore.
Apparently, there was a change described here regarding file extensions with
more than one dot posted in stackoverflow
(http://stackoverflow.com/questions/29031551/how-to-use-donefilename-property-of-camel-for-file-name-with-double-extension)
Before this change, "name.noext" used to be equal to "abc.def" in the above
example.
Now, it is "abc"
Any ideas, how I can get the behavior I used to get? ie have a file
"abc.def.zip" get
triggered by "abc.def.trigger" ?
Thanks,
urgy
--
View this message in context:
http://camel.465427.n5.nabble.com/donefilename-behavior-change-tp5770446.html
Sent from the Camel - Users mailing list archive at Nabble.com.