This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch camel-2.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.21.x by this push:
new ae5366a CAMEL-12511: Init scheduledExecutorService before
ConsulEventConsumer's watcher run
ae5366a is described below
commit ae5366af99ed9a86c77674255697a7f2daa8d373
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].