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

camel component options - Favour annotation based options

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.5.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: