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

Claus Ibsen commented on CAMEL-12841:
-------------------------------------

Okay so I have looked at bit, and I think we need to do the above trick with 
the RestController to have root context-path work with SB and health-checks.

We can then detect if its a SB project and do this automatic. Also we should 
generte the RouteBuilder class in the same package as the SpringBootApplication 
main class, so its component-scan works out of the box. Otherwise SB cannot 
find the generated RouteBuilder class.

> camel-restdsl-swagger:generate - Add restConfiguration with common defaults
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-12841
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12841
>             Project: Camel
>          Issue Type: New Feature
>          Components: tooling
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 2.23.0
>
>
> We should add restConfiguration in the generated DSL source code so the Camel 
> developer can see the configuration bits there, and more easily be able to 
> configure rest-dsl options.
> We should detect which component is on the classpath and choose, eg jetty / 
> servlet etc.



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

Reply via email to