This is an automated email from the ASF dual-hosted git repository.
davsclaus 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 5ee7c56 CAMEL-14805: Use doInit for iniitalizing. Fixed tests
5ee7c56 is described below
commit 5ee7c56e7f06f706570f31d25ab2ca658b04ae68
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Mar 29 10:51:22 2020 +0200
CAMEL-14805: Use doInit for iniitalizing. Fixed tests
---
.../src/main/java/org/apache/camel/zipkin/ZipkinTracer.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/components/camel-zipkin/src/main/java/org/apache/camel/zipkin/ZipkinTracer.java
b/components/camel-zipkin/src/main/java/org/apache/camel/zipkin/ZipkinTracer.java
index 19116f9..d6aa1cb 100644
---
a/components/camel-zipkin/src/main/java/org/apache/camel/zipkin/ZipkinTracer.java
+++
b/components/camel-zipkin/src/main/java/org/apache/camel/zipkin/ZipkinTracer.java
@@ -366,7 +366,7 @@ public class ZipkinTracer extends ServiceSupport implements
RoutePolicyFactory,
}
@Override
- protected void doStart() throws Exception {
+ protected void doInit() throws Exception {
ObjectHelper.notNull(camelContext, "CamelContext", this);
camelContext.getManagementStrategy().addEventNotifier(eventNotifier);
@@ -437,7 +437,7 @@ public class ZipkinTracer extends ServiceSupport implements
RoutePolicyFactory,
}
@Override
- protected void doStop() throws Exception {
+ protected void doShutdown() throws Exception {
// stop event notifier
camelContext.getManagementStrategy().removeEventNotifier(eventNotifier);
ServiceHelper.stopService(eventNotifier);