This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 0b201f6  CAMEL-16679: Upgrade to the latest MicroProfile component 
releases
0b201f6 is described below

commit 0b201f6164a78ecb5ab2703c57b77cd892dc02ab
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Wed Jun 2 12:51:19 2021 +0100

    CAMEL-16679: Upgrade to the latest MicroProfile component releases
---
 camel-dependencies/pom.xml                                        | 8 ++++----
 .../microprofile/faulttolerance/FaultToleranceProcessor.java      | 4 ++--
 parent/pom.xml                                                    | 8 ++++----
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index 08dedd2..f3731e8 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -507,10 +507,10 @@
     <slf4j-api-version>1.7.30</slf4j-api-version>
     <slf4j-version>1.7.30</slf4j-version>
     <smack-version>4.3.5</smack-version>
-    <smallrye-config-version>2.2.0</smallrye-config-version>
-    <smallrye-fault-tolerance-version>5.0.0</smallrye-fault-tolerance-version>
-    <smallrye-health-version>3.0.1</smallrye-health-version>
-    <smallrye-metrics-version>3.0.1</smallrye-metrics-version>
+    <smallrye-config-version>2.3.0</smallrye-config-version>
+    <smallrye-fault-tolerance-version>5.1.0</smallrye-fault-tolerance-version>
+    <smallrye-health-version>3.0.2</smallrye-health-version>
+    <smallrye-metrics-version>3.0.3</smallrye-metrics-version>
     <snakeyaml-engine-version>2.3</snakeyaml-engine-version>
     <snakeyaml-version>1.28</snakeyaml-version>
     <snmp4j-version>2.6.3_1</snmp4j-version>
diff --git 
a/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceProcessor.java
 
b/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceProcessor.java
index 61ac869..ee226ac 100644
--- 
a/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceProcessor.java
+++ 
b/components/camel-microprofile/camel-microprofile-fault-tolerance/src/main/java/org/apache/camel/component/microprofile/faulttolerance/FaultToleranceProcessor.java
@@ -24,7 +24,7 @@ import java.util.concurrent.ScheduledExecutorService;
 
 import io.smallrye.faulttolerance.core.FaultToleranceStrategy;
 import io.smallrye.faulttolerance.core.InvocationContext;
-import io.smallrye.faulttolerance.core.bulkhead.ThreadPoolBulkhead;
+import io.smallrye.faulttolerance.core.bulkhead.FutureThreadPoolBulkhead;
 import io.smallrye.faulttolerance.core.circuit.breaker.CircuitBreaker;
 import io.smallrye.faulttolerance.core.fallback.Fallback;
 import io.smallrye.faulttolerance.core.stopwatch.SystemStopwatch;
@@ -237,7 +237,7 @@ public class FaultToleranceProcessor extends 
AsyncProcessorSupport
 
         // 1. bulkhead
         if (config.isBulkheadEnabled()) {
-            target = new ThreadPoolBulkhead(
+            target = new FutureThreadPoolBulkhead(
                     target, "bulkhead", config.getBulkheadMaxConcurrentCalls(),
                     config.getBulkheadWaitingTaskQueue());
         }
diff --git a/parent/pom.xml b/parent/pom.xml
index 8f7f0ce..d65d575 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -493,10 +493,10 @@
         <slf4j-api-version>1.7.30</slf4j-api-version>
         <slf4j-version>1.7.30</slf4j-version>
         <smack-version>4.3.5</smack-version>
-        <smallrye-config-version>2.2.0</smallrye-config-version>
-        <smallrye-metrics-version>3.0.1</smallrye-metrics-version>
-        <smallrye-health-version>3.0.1</smallrye-health-version>
-        
<smallrye-fault-tolerance-version>5.0.0</smallrye-fault-tolerance-version>
+        <smallrye-config-version>2.3.0</smallrye-config-version>
+        <smallrye-metrics-version>3.0.3</smallrye-metrics-version>
+        <smallrye-health-version>3.0.2</smallrye-health-version>
+        
<smallrye-fault-tolerance-version>5.1.0</smallrye-fault-tolerance-version>
         <snakeyaml-version>1.28</snakeyaml-version>
         <snakeyaml-engine-version>2.3</snakeyaml-engine-version>
         <snmp4j-version>2.6.3_1</snmp4j-version>

Reply via email to