You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/08/10 08:58:51 UTC

[camel] branch main updated: camel-spring-ws - Make testing much faster (#11064)

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

davsclaus 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 69cc330e43b camel-spring-ws - Make testing much faster (#11064)
69cc330e43b is described below

commit 69cc330e43bd1382412004f04663367ff265e8a5
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Aug 10 10:58:41 2023 +0200

    camel-spring-ws - Make testing much faster (#11064)
---
 components/camel-spring-ws/pom.xml                                    | 4 ++++
 .../apache/camel/component/spring/ws/bean/CamelDirectConnection.java  | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/components/camel-spring-ws/pom.xml b/components/camel-spring-ws/pom.xml
index 9ac6904d8b8..3ed67f3bd40 100644
--- a/components/camel-spring-ws/pom.xml
+++ b/components/camel-spring-ws/pom.xml
@@ -32,6 +32,10 @@
     <name>Camel :: Spring Web Services</name>
     <description>Camel support for Spring Web Services</description>
 
+    <properties>
+        <camel.surefire.parallel>true</camel.surefire.parallel>
+    </properties>
+
     <dependencies>
 
         <dependency>
diff --git a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/bean/CamelDirectConnection.java b/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/bean/CamelDirectConnection.java
index 70cf2dfd35b..c11140320b9 100644
--- a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/bean/CamelDirectConnection.java
+++ b/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/bean/CamelDirectConnection.java
@@ -38,7 +38,7 @@ public class CamelDirectConnection implements WebServiceConnection {
 
     public CamelDirectConnection(CamelContext camelContext, URI uri) throws URISyntaxException {
         this.camelContext = camelContext;
-        destination = new URI("direct:" + uri);
+        destination = new URI("direct:" + uri + "?block=false");
     }
 
     @Override
@@ -47,7 +47,7 @@ public class CamelDirectConnection implements WebServiceConnection {
             camelContext.createProducerTemplate().sendBody(destination.toString(), message);
         } catch (CamelExecutionException e) {
             // simply discard replyTo message
-            LOG.warn("Could not found any camel endpoint [{}] for wsa:ReplyTo camel mapping.", destination, e);
+            LOG.warn("Could not found any camel endpoint [{}] for wsa:ReplyTo camel mapping.", destination);
         }
     }