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

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


The following commit(s) were added to refs/heads/master by this push:
     new e09b1c6  [CAMEL-14786] Fix camel-spring
e09b1c6 is described below

commit e09b1c6c89672841cef15769419d341fc7ca51b4
Author: Guillaume Nodet <gno...@gmail.com>
AuthorDate: Thu Mar 26 17:53:56 2020 +0100

    [CAMEL-14786] Fix camel-spring
---
 .../java/org/apache/camel/spring/remoting/CamelProxyFactoryBean.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-spring/src/main/java/org/apache/camel/spring/remoting/CamelProxyFactoryBean.java
 
b/components/camel-spring/src/main/java/org/apache/camel/spring/remoting/CamelProxyFactoryBean.java
index a65b37d..619254d 100644
--- 
a/components/camel-spring/src/main/java/org/apache/camel/spring/remoting/CamelProxyFactoryBean.java
+++ 
b/components/camel-spring/src/main/java/org/apache/camel/spring/remoting/CamelProxyFactoryBean.java
@@ -79,7 +79,7 @@ public class CamelProxyFactoryBean extends 
UrlBasedRemoteAccessor implements Fac
             ServiceHelper.startService(endpoint);
             producer = endpoint.createProducer();
             // add and start producer
-            camelContext.addService(producer, true, true);
+            camelContext.addService(producer, true, false);
             serviceProxy = ProxyHelper.createProxy(endpoint, bind, producer, 
getServiceInterface());
         } catch (Exception e) {
             throw new FailedToCreateProducerException(endpoint, e);

Reply via email to