camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-9426) spring-boot with rest-dsl with api-doc registers multiple instances with multiple RouteBuilders
Date Wed, 16 Dec 2015 08:30:46 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-9426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-9426.
--------------------------------
    Resolution: Fixed

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

Mime
View raw message