camel-issues mailing list archives

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

             Summary: 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


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