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

camel component options - Favour annotation based options

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Moderate

      Description

      We should favour options on component classes to be annotation based, eg with @Metadata so we mark up only the options that are options. As other delegates and getter/setters may get mixed up.

      Then in the future we will drop support and only require marked up options, just like endpoints where you must use @UriParam etc.

      At first we can make our tool log a WARN and then we can see how many of our own components suffer from this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: