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:02:00 UTC

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

Claus Ibsen created CAMEL-13688:
-----------------------------------

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