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

camel-core - Enum type converter should support dash style

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      If using enums such as

      GET_USER

      It would be great if the enum type converter also support a dash style, so you can say

      action=get-user
      action=GET_USER
      action=GetUser
      action=getUser

      We do ignore case and also match as-is, eg if the enum was GETUSER and not GET_USER

        Attachments

          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: