I get no exception when building this: .toD("file://" + outputDirectory + File.separator + "?fileExist=Append&charset=$(header.inputFileEncoding)");
The code only breaks when i try to write to the file due to NoSuchFileException. I would have expected to get a camel.FailedToCreateRouteException or something like that during build phase. Iv'e added this suggestion to a ticket: https://issues.apache.org/jira/browse/CAMEL-10547 -- View this message in context: http://camel.465427.n5.nabble.com/dynamic-endpoint-with-dynamic-encoding-tp5790768p5790797.html Sent from the Camel - Users mailing list archive at Nabble.com.