You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/06/26 20:46:00 UTC

[jira] [Resolved] (CAMEL-13688) Camel main - Setting boolean option should have strict conversition

     [ https://issues.apache.org/jira/browse/CAMEL-13688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-13688.
---------------------------------
    Resolution: Fixed

> Camel main - Setting boolean option should have strict conversition
> -------------------------------------------------------------------
>
>                 Key: CAMEL-13688
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13688
>             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
>
>
> If you set an option like
> camel.main.allow-use-original-message=123
> Then its set as false, because we do a Boolean.valueOf convertion which just checks if its "true" or not. Instead we should only allow string values of "true" or "false" otherwise its a invalid value.



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