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

Lookup headers from a Camel Message should be case agnostic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-M3
    • 2.0.0
    • camel-core
    • None

    Description

      Today the case matter so: getHeader("Foo") and getHeader("foo") is not the same.

      And for some protocols the header case do not matter such as

      • http
      • mail
        etc.

      And who would in real life want to send 2 headers that are different only depending on the case

      • Foo=me
      • foo=you

      Attachments

        1. KeyValuePair.java
          2 kB
          Claus Ibsen
        2. CaseInsensitiveMap.java
          4 kB
          Claus Ibsen
        3. CAMEL_1886.patch
          31 kB
          Claus Ibsen
        4. AnotherCaseInsensitiveMap.java
          5 kB
          Claus Ibsen

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: