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

camel-core - Enum type converter should support dash style

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • camel-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: