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/01/15 13:34:00 UTC

[jira] [Created] (CAMEL-14406) Component configurer - Generate API for returning which properties the component have

Claus Ibsen created CAMEL-14406:
-----------------------------------

             Summary: Component configurer - Generate API for returning which properties the component have
                 Key: CAMEL-14406
                 URL: https://issues.apache.org/jira/browse/CAMEL-14406
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 3.x


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



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