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

camel-http - Optimize isStatusCodeOk

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.9.0
    • Component/s: camel-http
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      As the http component uses this to know if status is okay within ranges 200..299 and so on, we can optimize it due it uses string split which uses regexp in older JDKs.

      We can be smarter and with ranges that dont need to be parsed each time, but initialized from the component.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: