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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.7.0
    • Component/s: tooling
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: