[
https://issues.apache.org/jira/browse/CAMEL-16109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17275584#comment-17275584
]
Claus Ibsen commented on CAMEL-16109:
-------------------------------------
Thanks for reporting and providing a reproducer app
> camel-hystrix-starter auto-config fails with multiple
> "servletRegistrationBean"
> -------------------------------------------------------------------------------
>
> Key: CAMEL-16109
> URL: https://issues.apache.org/jira/browse/CAMEL-16109
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-boot-starters
> Affects Versions: 3.7.1
> Reporter: Jesper Duelund Isaksen
> Priority: Minor
> Fix For: 3.7.2, 3.8.0
>
>
> A servlet based Spring Boot application using Apache Camel to expose REST
> endpoints fails with the following error:
> {noformat}
> The bean 'servletRegistrationBean', defined in class path resource
> [org/apache/camel/component/servlet/springboot/ServletMappingAutoConfiguration.class],
> could not be registered. A bean with that name has already been defined in
> class path resource
> [org/apache/camel/component/hystrix/springboot/HystrixMappingAutoConfiguration.class]
> and overriding is disabled.{noformat}
> Reproducer can be found here: [sys-jdi/hystrix-starter-issue
> (github.com)|https://github.com/sys-jdi/hystrix-starter-issue]
> To reproduce, start the application using
> {code:java}
> mvn spring-boot:run
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)