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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.20.0
    • camel-hazelcast
    • None
    • 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

              Unassigned Unassigned
              lb Luca Burgazzoli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: