You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/02/27 17:03:00 UTC

[jira] [Created] (CAMEL-14622) camel component options - Favour annotation based options

Claus Ibsen created CAMEL-14622:
-----------------------------------

             Summary: camel component options - Favour annotation based options
                 Key: CAMEL-14622
                 URL: https://issues.apache.org/jira/browse/CAMEL-14622
             Project: Camel
          Issue Type: Improvement
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 3.x


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)