[jira] [Created] (CAMEL-16173) Camel Resilience4j Bulkhead seems to not limit concurrent requests

2021-02-09 Thread Jesper Duelund Isaksen (Jira)
Jesper Duelund Isaksen created CAMEL-16173:
--

 Summary: Camel Resilience4j Bulkhead seems to not limit concurrent 
requests
 Key: CAMEL-16173
 URL: https://issues.apache.org/jira/browse/CAMEL-16173
 Project: Camel
  Issue Type: Bug
Affects Versions: 3.7.2, 3.7.1
Reporter: Jesper Duelund Isaksen


In an attempt to ensure proper error handling once a Camel route would reach 
its configured Resilience4j Bulkhead limit, it was experienced that regardless 
of Bulkhead configuration, the limit was never upheld. Seemingly the Bulkhead 
has no effect within the circuit breaker.

The context in which the bug was experienced:
Spring Boot 2.4.2, Apache Camel 3.7.1 (reproducer tested using 3.7.2 as well).

A reproducer Maven project can be found here: [sys-jdi/camel-bulkhead-test: 
Test of Resilience4J in Spring Boot application using Apache 
Camel.|https://github.com/sys-jdi/camel-bulkhead-test]




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (CAMEL-16109) camel-hystrix-starter auto-config fails with multiple "servletRegistrationBean"

2021-01-29 Thread Jesper Duelund Isaksen (Jira)
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)