[ 
https://issues.apache.org/jira/browse/CAMEL-13663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16867255#comment-16867255
 ] 

Claus Ibsen edited comment on CAMEL-13663 at 6/21/19 9:19 AM:
--------------------------------------------------------------

Okay besides the regular Camel component options we can be smarter and find out 
nested options eg

camel.component.jms.connection-factory.brokerURL=tcp://localhost:61616

Then we can do the same autowiring smartness and detect if there is a single 
preferred implementation of ConnectionFactory, we can then inspect this class 
and extracts its getter/setters and include those (they will however not have 
any documentation or default values). *DONE*

This would require to download the -sources JAR of those and find the source 
code and grab its javadoc. And then we would still not know any default values





was (Author: davsclaus):
Okay besides the regular Camel component options we can be smarter and find out 
nested options eg

camel.component.jms.connection-factory.brokerURL=tcp://localhost:61616

Then we can do the same autowiring smartness and detect if there is a single 
preferred implementation of ConnectionFactory, we can then inspect this class 
and extracts its getter/setters and include those (they will however not have 
any documentation or default values). 

This would require to download the -sources JAR of those and find the source 
code and grab its javadoc. And then we would still not know any default values




> camel-main-maven-plugin - Generate tooling metadata
> ---------------------------------------------------
>
>                 Key: CAMEL-13663
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13663
>             Project: Camel
>          Issue Type: New Feature
>          Components: tooling
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.0.0, 3.0.0.M4
>
>         Attachments: Screenshot 2019-06-19 at 07.51.45.png, Screenshot 
> 2019-06-21 at 10.27.30.png
>
>
> To assist editing Camel Main and eg application.properties then we could 
> "fool" tooling by generating Spring Boot metadata json files, so tools see 
> these files and offer their code completions.
> Then you can use ctrl + space for type completions when typing
> camel.component.jms



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to