Re: Resilience4j with Bulkhead and TimeLimiter

2021-10-04 Thread Claus Ibsen
On Mon, Oct 4, 2021 at 2:43 PM Jesper Duelund Isaksen wrote: > > Hi Claus, > > Not quite. I am expecting a timeout and a timeout exception to be thrown > since the max wait duration is configured lower than the time it should take > for the mock to respond. So unexpectedly the request succeeds

RE: Resilience4j with Bulkhead and TimeLimiter

2021-10-04 Thread Jesper Duelund Isaksen
Hi Claus, Not quite. I am expecting a timeout and a timeout exception to be thrown since the max wait duration is configured lower than the time it should take for the mock to respond. So unexpectedly the request succeeds since it seems the timeout configuration has no effect. Yes, weirdly

Re: Resilience4j with Bulkhead and TimeLimiter

2021-10-04 Thread Claus Ibsen
Hi So are you saying that calling this http endpoint causes a timeout, but that timeout is not triggered in the Camel route so the exchange fails? And if you turn off bulkhead, then you see such timeout exception on the exchange ? On Mon, Oct 4, 2021 at 1:13 PM Jesper Duelund Isaksen wrote: >

Resilience4j with Bulkhead and TimeLimiter

2021-10-04 Thread Jesper Duelund Isaksen
Hi Camel users, When declaring a Camel Route that uses Resilience4j as a circuit breaker, I am seeing an issue where configuring a timeout has no effect in case a Bulkhead is also configured. This happens even though the option CancelRunningFuture is set to true. I was wondering if this is

Camel Azure Event Hub consumer

2021-10-04 Thread Divya Sashihital
Dear all, I was trying to consume events from Azure Event Hub using Camel. The code snippet for the producer and consumer routes is given below: As per the camel documentation https://camel.apache.org/components/latest/azure-eventhubs-component.html#_consumer_example, do we have any reference on

[ANNOUNCE] Apache Camel 3.12.0 Released

2021-10-04 Thread Gregor Zurowski
The Camel PMC is pleased to announce the release of Apache Camel 3.12.0. Apache Camel is an open source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data. This new minor release contains 206 new features, improvements and bug