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 10:38:00 UTC

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

    [ https://issues.apache.org/jira/browse/CAMEL-14622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136522#comment-17136522 ] 

Claus Ibsen commented on CAMEL-14622:
-------------------------------------

[WARNING] Component class org.apache.camel.component.amqp.AMQPComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.as2.AS2Component has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.atomix.client.AbstractAtomixClientComponent has not been marked up with @Metadata for 4 options.
[WARNING] Component class org.apache.camel.component.atomix.client.AbstractAtomixClientComponent has not been marked up with @Metadata for 4 options.
[WARNING] Component class org.apache.camel.component.atomix.client.AbstractAtomixClientComponent has not been marked up with @Metadata for 4 options.
[WARNING] Component class org.apache.camel.component.atomix.client.AbstractAtomixClientComponent has not been marked up with @Metadata for 4 options.
[WARNING] Component class org.apache.camel.component.atomix.client.AbstractAtomixClientComponent has not been marked up with @Metadata for 4 options.
[WARNING] Component class org.apache.camel.component.atomix.client.AbstractAtomixClientComponent has not been marked up with @Metadata for 4 options.
[WARNING] Component class org.apache.camel.component.atomix.client.map.AtomixMapComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.atomix.client.messaging.AtomixMessagingComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.atomix.client.multimap.AtomixMultiMapComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.atomix.client.queue.AtomixQueueComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.atomix.client.set.AtomixSetComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.atomix.client.value.AtomixValueComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.beanstalk.BeanstalkComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.cmis.CMISComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.debezium.DebeziumComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.debezium.DebeziumComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.debezium.DebeziumComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.debezium.DebeziumComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.debezium.DebeziumMongodbComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.debezium.DebeziumMySqlComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.debezium.DebeziumPostgresComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.debezium.DebeziumSqlserverComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.flink.FlinkComponent has not been marked up with @Metadata for 4 options.
[WARNING] Component class org.apache.camel.component.google.bigquery.GoogleBigQueryComponent has not been marked up with @Metadata for 3 options.
[WARNING] Component class org.apache.camel.component.google.bigquery.sql.GoogleBigQuerySQLComponent has not been marked up with @Metadata for 2 options.
[WARNING] Component class org.apache.camel.component.guava.eventbus.GuavaEventBusComponent has not been marked up with @Metadata for 2 options.
[WARNING] Component class org.apache.camel.component.hdfs.HdfsComponent has not been marked up with @Metadata for 2 options.
[WARNING] Component class org.apache.camel.component.iec60870.client.ClientComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.iec60870.server.ServerComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.ignite.AbstractIgniteComponent has not been marked up with @Metadata for 3 options.
[WARNING] Component class org.apache.camel.component.influxdb.InfluxDbComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.jcache.JCacheComponent has not been marked up with @Metadata for 5 options.
[WARNING] Component class org.apache.camel.component.jclouds.JcloudsComponent has not been marked up with @Metadata for 2 options.
[WARNING] Component class org.apache.camel.component.jdbc.JdbcComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.milo.server.MiloServerComponent has not been marked up with @Metadata for 18 options.
[WARNING] Component class org.apache.camel.component.mongodb.MongoDbComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.resteasy.ResteasyComponent has not been marked up with @Metadata for 2 options.
[WARNING] Component class org.apache.camel.component.scp.ScpComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.slack.SlackComponent has not been marked up with @Metadata for 1 options.
[WARNING] Component class org.apache.camel.component.spark.SparkComponent has not been marked up with @Metadata for 2 options.
[WARNING] Component class org.apache.camel.component.spring.batch.SpringBatchComponent has not been marked up with @Metadata for 2 options.
[WARNING] Component class org.apache.camel.component.sql.stored.SqlStoredComponent has not been marked up with @Metadata for 1 options.

> 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)