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

camel-hazelcast: use string/enum instead of numeric operation type

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: camel-hazelcast
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      camel-hazelcast defines the operation using an integer but you can also use a string when configuring the endpoint so it is a mix of styles that we should avoid so it would be nice if we use enum/string everywhere.

      HazelcastOperation {
          PUT,
          ...; 
      }
      
      HazelcastDefaultEndpoint {
          @UriParam
          private HazelcastOperation defaultOperation;
      }
      

      This difference of types adds some additional maintenance work as one has to maintain:

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lb Luca Burgazzoli
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: