Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15827 Improve Camel Maven Archetype for component
  3. CAMEL-15832

[component archetype] XXXEndpoint contains deprecated annotation @UriEndpoint.consumerClass and @UriEndpoint.label

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.6.0
    • 3.7.0
    • tooling
    • None
    • Unknown

    Description

          /**
           * Represents the consumer class which is injected and created by consumers
           */
          @Deprecated
          Class<?> consumerClass() default Object.class;
      

      no information by what it needs to be replaced

          /**
           * 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 "";
      

      shoudl be easy to replace with category

      Attachments

        Activity

          People

            Unassigned Unassigned
            apupier Aurélien Pupier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: