Jesper Duelund Isaksen created CAMEL-16109:
----------------------------------------------
Summary: 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
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)