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

Claus Ibsen commented on CAMEL-13689:
-------------------------------------

We should make the type converters fro string -> Boolean only accept true or 
false as values. Today it uses the Boolean.valueOf which just checks for true 
only. So converting abc -> Boolean would be false. But that can lead to 
configuring options that then gets set to false instead of null or report an 
error during type conversion.

> camel-core - Converting string to boolean should only accept true or false 
> literals
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-13689
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13689
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.0.0, 3.0.0.M4
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to