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

okStatusCodeRange does not permit single status code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.11.2
    • 3.11.3, 3.12.0
    • camel-netty-http
    • None
    • Unknown

    Description

      It is not possible to set okStatusCodeRange for netty http to single status code (eg. only 200). Problem is caused by optimization from CAMEL-16215 which does not handle case when there is neither "-" nor "," in the okStatusCodeRange.

      Workaround it to use single element range: 200-200 but it should be possible to set single value.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              krzysztofjamroz Krzysztof Jamróz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: