camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Burgazzoli (JIRA)" <>
Subject [jira] [Created] (CAMEL-11137) @UriParam should support real enums
Date Wed, 12 Apr 2017 08:06:41 GMT
Luca Burgazzoli created CAMEL-11137:

             Summary: @UriParam should support real enums
                 Key: CAMEL-11137
             Project: Camel
          Issue Type: Bug
          Components: camel-core
         Environment: As today the @UriParam supports enums as string which sometimes leads
to stuffs like:

    @UriParam(label = "producer", defaultValue = "put", enums =
           + "get,"
           + "containsKey,containsValue,"
           + "remove,removeAsync,"
           + "replace,replaceAsync,"
           + "size,"
           + "clear,clearAsync,"
           + "query,stats")
    private String command;

It would be nice to support real enum so there's no need to manual update the @UriParam definition
once the enums change.

            Reporter: Luca Burgazzoli
            Priority: Minor
             Fix For: 2.20.0

This message was sent by Atlassian JIRA

View raw message