This is an automated email from the ASF dual-hosted git repository.
lburgazzoli 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 c574d09 CAMEL-12511: Init scheduledExecutorService before
ConsulEventConsumer's watcher run
c574d09 is described below
commit c574d09793054e92a003dc34d1bfdc895f9e1d60
Author: Viachaslau Tsikhanovich <[email protected]>
AuthorDate: Tue May 15 15:07:54 2018 +0300
CAMEL-12511: Init scheduledExecutorService before ConsulEventConsumer's
watcher run
---
.../org/apache/camel/component/consul/endpoint/ConsulEventConsumer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/components/camel-consul/src/main/java/org/apache/camel/component/consul/endpoint/ConsulEventConsumer.java
b/components/camel-consul/src/main/java/org/apache/camel/component/consul/endpoint/ConsulEventConsumer.java
index b74615b..13753c2 100644
---
a/components/camel-consul/src/main/java/org/apache/camel/component/consul/endpoint/ConsulEventConsumer.java
+++
b/components/camel-consul/src/main/java/org/apache/camel/component/consul/endpoint/ConsulEventConsumer.java
@@ -51,8 +51,8 @@ public final class ConsulEventConsumer extends
AbstractConsulConsumer<EventClien
@Override
protected void doStart() throws Exception {
- super.doStart();
this.scheduledExecutorService =
this.executorServiceManager.newSingleThreadScheduledExecutor(this,
"ConsulEventConsumer");
+ super.doStart();
}
@Override
--
To stop receiving notification emails like this one, please contact
[email protected].