[
https://issues.apache.org/jira/browse/CAMEL-9426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059877#comment-15059877
]
Jay mann edited comment on CAMEL-9426 at 12/16/15 2:17 PM:
-----------------------------------------------------------
Ha ha I wasn't even thinking when I typed that placeholder. We are actually
trying to get rid of the million dollar animal. :)
was (Author: jmandawg):
Ha ha I was even thinking when I typed that placeholder. We are actually
trying to get rid of the million dollar animal. :)
> spring-boot with rest-dsl with api-doc registers multiple instances with
> multiple RouteBuilders
> -----------------------------------------------------------------------------------------------
>
> Key: CAMEL-9426
> URL: https://issues.apache.org/jira/browse/CAMEL-9426
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-boot, camel-swagger
> Affects Versions: 2.16.1
> Reporter: Jay mann
> Assignee: Claus Ibsen
> Fix For: 2.16.2, 2.17.0
>
>
> Spring-boot + swagger throws exception when there is another RouteBuilder
> component present:
> org.apache.camel.spring.boot.CamelSpringBootInitializationException:
> org.apache.camel.FailedToStartRouteException: Failed to start route route4
> because of Multiple consumers for the same endpoint is not allowed:
> Endpoint[http://0.0.0.0:10000/api-doc?httpMethodRestrict=GET]
> I used the same example as CAMEL-9247 but added an empty RouteBuilder
> component (AnotherRouter.java)
> This makes it so we cannot have more than one RouteBuilder in our app.
> Example here:
> https://github.com/jmandawg/camel-spring-boot-swagger-problem
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)