You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/12/13 08:36:11 UTC
[camel] branch camel-3.7.x updated: Fix SimpleMain oversight on
doStop method (#4759)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-3.7.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.7.x by this push:
new a8bb0d3 Fix SimpleMain oversight on doStop method (#4759)
a8bb0d3 is described below
commit a8bb0d335a09984d5f708f868db4e11bf8ab62a0
Author: Federico Valeri <fv...@users.noreply.github.com>
AuthorDate: Sun Dec 13 09:35:44 2020 +0100
Fix SimpleMain oversight on doStop method (#4759)
Co-authored-by: Federico Valeri <fv...@localhost>
---
core/camel-main/src/main/java/org/apache/camel/main/SimpleMain.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/camel-main/src/main/java/org/apache/camel/main/SimpleMain.java b/core/camel-main/src/main/java/org/apache/camel/main/SimpleMain.java
index 1023eea..898d231 100644
--- a/core/camel-main/src/main/java/org/apache/camel/main/SimpleMain.java
+++ b/core/camel-main/src/main/java/org/apache/camel/main/SimpleMain.java
@@ -53,7 +53,7 @@ public class SimpleMain extends BaseMainSupport {
listener.beforeStop(this);
}
- super.doStart();
+ super.doStop();
getCamelContext().stop();