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/06/16 14:53:00 UTC

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

     [ https://issues.apache.org/jira/browse/CAMEL-14622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-14622.
---------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 3.5.0
>
>
> 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)