Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14406

Component configurer - Generate API for returning which properties the component have

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      As part of bootstrapping Camel we do some convention to configure components with objects from registry. And as part of this we introspect the component which complex properties it has. We could optimize this and have a source code generated method we can use via the configurer

      camel-example-main reports on bootstrap

      13:43:36.332 [main] INFO o.a.c.i.e.DefaultBeanIntrospection - Invoked: 6 times (overall) [Method: getProperties, Target: org.apache.camel.component.timer.TimerComponent@1a75e76a, Arguments: null]
      13:43:36.407 [main] INFO o.a.c.i.e.DefaultBeanIntrospection - Invoked: 7 times (overall) [Method: getProperties, Target: org.apache.camel.component.log.LogComponent@4a8355dd, Arguments: null]
      13:43:36.409 [main] INFO o.a.c.i.e.DefaultBeanIntrospection - Invoked: 8 times (overall) [Method: getPropertyGetter, Target: class org.apache.camel.component.log.LogComponent, Arguments: [exchangeFormatter]]

        Attachments

          Activity

            People

            • Assignee:
              gnodet Guillaume Nodet
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: