morten skou nielsen created CAMEL-10547:
-------------------------------------------

             Summary: No Exception on invalid charset option
                 Key: CAMEL-10547
                 URL: https://issues.apache.org/jira/browse/CAMEL-10547
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.18.0
         Environment: windows 7
            Reporter: morten skou nielsen
            Priority: Minor


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 since the 
charset option is invalid

see nable
http://camel.465427.n5.nabble.com/dynamic-endpoint-with-dynamic-encoding-td5790768.html




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to