You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2018/10/03 15:05:18 UTC

[camel] 30/32: Simplify startService / stopService helpers

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

gnodet pushed a commit to branch sandbox/camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f0d9ed34ddcd0f6560243c97b9820df9d7ba56d0
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Wed Oct 3 08:01:53 2018 +0200

    Simplify startService / stopService helpers
---
 .../java/org/apache/camel/component/connector/ConnectorProducer.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/connectors/camel-connector/src/main/java/org/apache/camel/component/connector/ConnectorProducer.java b/connectors/camel-connector/src/main/java/org/apache/camel/component/connector/ConnectorProducer.java
index 28e80d0..0e46c3d 100644
--- a/connectors/camel-connector/src/main/java/org/apache/camel/component/connector/ConnectorProducer.java
+++ b/connectors/camel-connector/src/main/java/org/apache/camel/component/connector/ConnectorProducer.java
@@ -47,12 +47,12 @@ public class ConnectorProducer extends DefaultAsyncProducer {
 
     @Override
     protected void doStart() throws Exception {
-        ServiceHelper.startServices(processor);
+        ServiceHelper.startService(processor);
     }
 
     @Override
     protected void doStop() throws Exception {
-        ServiceHelper.stopServices(processor);
+        ServiceHelper.stopService(processor);
     }
 
     @Override