Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13688

Camel main - Setting boolean option should have strict conversition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0.M4, 3.0.0
    • camel-core
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: