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/12/04 12:13:00 UTC

[jira] [Resolved] (CAMEL-15832) [component archetype] XXXEndpoint contains deprecated annotation @UriEndpoint.consumerClass and @UriEndpoint.label

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

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

> [component archetype] XXXEndpoint contains deprecated annotation @UriEndpoint.consumerClass and @UriEndpoint.label
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-15832
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15832
>             Project: Camel
>          Issue Type: Sub-task
>          Components: tooling
>    Affects Versions: 3.6.0
>            Reporter: Aurélien Pupier
>            Priority: Minor
>             Fix For: 3.7.0
>
>
> {noformat}
>     /**
>      * Represents the consumer class which is injected and created by consumers
>      */
>     @Deprecated
>     Class<?> consumerClass() default Object.class;
> {noformat}
> no information by what it needs to be replaced
> {noformat}
>     /**
>      * To associate this endpoint with label(s).
>      * <p/>
>      * Multiple labels can be defined as a comma separated value.
>      * <p/>
>      * The labels is intended for grouping the endpoints, such as <tt>core</tt>, <tt>file</tt>, <tt>messaging</tt>,
>      * <tt>database</tt>, etc.
>      * <p/>
>      * Deprecated: Use the category field instead
>      */
>     @Deprecated
>     String label() default "";
> {noformat}
> shoudl be easy to replace with category



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