Hi I have logged a ticket to add new functions so you can get the ext in single mode as before https://issues.apache.org/jira/browse/CAMEL-9064
On Sat, Aug 8, 2015 at 9:26 AM, Claus Ibsen <[email protected]> wrote: > That is not possible. Maybe do not use double dots in your file extensions. > > > > On Sat, Aug 8, 2015 at 2:16 AM, urgy <[email protected]> wrote: >> 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. > > > > -- > Claus Ibsen > ----------------- > http://davsclaus.com @davsclaus > Camel in Action 2nd edition: http://www.manning.com/ibsen2 -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: http://www.manning.com/ibsen2
