camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "morten skou nielsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10547) No Exception on invalid charset option
Date Wed, 30 Nov 2016 12:14:58 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15708415#comment-15708415
] 

morten skou nielsen commented on CAMEL-10547:
---------------------------------------------

yes, i've just tried it in a sandbox environment. It does fail. if i find the reason why it
doesnt in my production code i'll be sure to update/create new ticket

> 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)

Mime
View raw message