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 07:40:22 UTC

[camel] branch ws-fast created (now db9116e035d)

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

davsclaus pushed a change to branch ws-fast
in repository https://gitbox.apache.org/repos/asf/camel.git


      at db9116e035d camel-spring-ws - Make testing much faster

This branch includes the following new commits:

     new db9116e035d camel-spring-ws - Make testing much faster

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel] 01/01: camel-spring-ws - Make testing much faster

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch ws-fast
in repository https://gitbox.apache.org/repos/asf/camel.git

commit db9116e035dcb8f4cde2dd167bb1025d9f9e3dd5
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Aug 10 09:40:09 2023 +0200

    camel-spring-ws - Make testing much faster
---
 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);
         }
     }