You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "morten skou nielsen (JIRA)" <ji...@apache.org> on 2016/11/30 11:56:58 UTC

[jira] [Created] (CAMEL-10547) No Exception on invalid charset option

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)