[jira] [Comment Edited] (CAMEL-13647) camel-main - Add support for auto binding to components by interface type and discover impl class on classpath
[ https://issues.apache.org/jira/browse/CAMEL-13647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16865129#comment-16865129 ] Claus Ibsen edited comment on CAMEL-13647 at 6/17/19 7:39 AM: -- So we can add support for - constructor parameters *LATER* - private setters *DONE* So you can say that the method is private via #private# or something like that ...connectionFactory.#private#brokerUrl=localhost:61616 Okay we now support private methods by default (but you can turn it off) ...connectionFactory.brokerUrl=localhost:61616 was (Author: davsclaus): So we can add support for - constructor parameters - private setters *DONE* So you can say that the method is private via #private# or something like that ...connectionFactory.#private#brokerUrl=localhost:61616 Okay we now support private methods by default (but you can turn it off) ...connectionFactory.brokerUrl=localhost:61616 > camel-main - Add support for auto binding to components by interface type and > discover impl class on classpath > -- > > Key: CAMEL-13647 > URL: https://issues.apache.org/jira/browse/CAMEL-13647 > Project: Camel > Issue Type: New Feature > Components: camel-core >Reporter: Claus Ibsen >Assignee: Claus Ibsen >Priority: Major > Fix For: 3.0.0, 3.0.0.M4 > > > This can make convention over configuration nicer. For example some > components requires a ConnectionFactory etc and if we can auto-discover that > on the classpath there is only 1 implementation of such interface, we can try > to auto create the instance and configure it on the component. > This should be an option you can turn on|off. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (CAMEL-13647) camel-main - Add support for auto binding to components by interface type and discover impl class on classpath
[ https://issues.apache.org/jira/browse/CAMEL-13647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16865129#comment-16865129 ] Claus Ibsen edited comment on CAMEL-13647 at 6/17/19 7:34 AM: -- So we can add support for - constructor parameters - private setters *DONE* So you can say that the method is private via #private# or something like that ...connectionFactory.#private#brokerUrl=localhost:61616 Okay we now support private methods by default (but you can turn it off) ...connectionFactory.brokerUrl=localhost:61616 was (Author: davsclaus): So we can add support for - constructor parameters - private setters *DONE* So you can say that the method is private via #private# or something like that ...connectionFactory.#private#brokerUrl=localhost:61616 > camel-main - Add support for auto binding to components by interface type and > discover impl class on classpath > -- > > Key: CAMEL-13647 > URL: https://issues.apache.org/jira/browse/CAMEL-13647 > Project: Camel > Issue Type: New Feature > Components: camel-core >Reporter: Claus Ibsen >Assignee: Claus Ibsen >Priority: Major > Fix For: 3.0.0, 3.0.0.M4 > > > This can make convention over configuration nicer. For example some > components requires a ConnectionFactory etc and if we can auto-discover that > on the classpath there is only 1 implementation of such interface, we can try > to auto create the instance and configure it on the component. > This should be an option you can turn on|off. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (CAMEL-13647) camel-main - Add support for auto binding to components by interface type and discover impl class on classpath
[ https://issues.apache.org/jira/browse/CAMEL-13647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16865142#comment-16865142 ] Claus Ibsen edited comment on CAMEL-13647 at 6/17/19 4:35 AM: -- Also we should add option to main to be case insensitive when setting these names, so you can say brokerUrl, brokerURL brokerurl etc and they would all work *WONT FIX* instead we report more detailed if there was no setter/getter with that exact name, so the user can fix it was (Author: davsclaus): Also we should add option to main to be case insensitive when setting these names, so you can say brokerUrl, brokerURL brokerurl etc and they would all work > camel-main - Add support for auto binding to components by interface type and > discover impl class on classpath > -- > > Key: CAMEL-13647 > URL: https://issues.apache.org/jira/browse/CAMEL-13647 > Project: Camel > Issue Type: New Feature > Components: camel-core >Reporter: Claus Ibsen >Assignee: Claus Ibsen >Priority: Major > Fix For: 3.0.0, 3.0.0.M4 > > > This can make convention over configuration nicer. For example some > components requires a ConnectionFactory etc and if we can auto-discover that > on the classpath there is only 1 implementation of such interface, we can try > to auto create the instance and configure it on the component. > This should be an option you can turn on|off. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (CAMEL-13647) camel-main - Add support for auto binding to components by interface type and discover impl class on classpath
[ https://issues.apache.org/jira/browse/CAMEL-13647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16865129#comment-16865129 ] Claus Ibsen edited comment on CAMEL-13647 at 6/17/19 4:06 AM: -- So we can add support for - constructor parameters - private setters *DONE* So you can say that the method is private via #private# or something like that ...connectionFactory.#private#brokerUrl=localhost:61616 was (Author: davsclaus): So we can add support for - constructor parameters - private setters So you can say that the method is private via #private# or something like that ...connectionFactory.#private#brokerUrl=localhost:61616 > camel-main - Add support for auto binding to components by interface type and > discover impl class on classpath > -- > > Key: CAMEL-13647 > URL: https://issues.apache.org/jira/browse/CAMEL-13647 > Project: Camel > Issue Type: New Feature > Components: camel-core >Reporter: Claus Ibsen >Assignee: Claus Ibsen >Priority: Major > Fix For: 3.0.0, 3.0.0.M4 > > > This can make convention over configuration nicer. For example some > components requires a ConnectionFactory etc and if we can auto-discover that > on the classpath there is only 1 implementation of such interface, we can try > to auto create the instance and configure it on the component. > This should be an option you can turn on|off. -- This message was sent by Atlassian JIRA (v7.6.3#76005)