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/08/23 13:14:10 UTC

[camel] 03/11: JMX management was being unregistered/stopped to early after recent lifecycle changes with the additional events around camel context stopping/stopped.

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

commit a47bbd9f0d0b12cf4ccaf6138eee0cb9739f1d3a
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Aug 22 17:37:07 2020 +0200

    JMX management was being unregistered/stopped to early after recent lifecycle changes with the additional events around camel context stopping/stopped.
---
 .../org/apache/camel/management/JmxManagementLifecycleStrategy.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-management/src/main/java/org/apache/camel/management/JmxManagementLifecycleStrategy.java b/core/camel-management/src/main/java/org/apache/camel/management/JmxManagementLifecycleStrategy.java
index fc70cba..f446b48 100644
--- a/core/camel-management/src/main/java/org/apache/camel/management/JmxManagementLifecycleStrategy.java
+++ b/core/camel-management/src/main/java/org/apache/camel/management/JmxManagementLifecycleStrategy.java
@@ -313,7 +313,7 @@ public class JmxManagementLifecycleStrategy extends ServiceSupport implements Li
     }
 
     @Override
-    public void onContextStop(CamelContext context) {
+    public void onContextStopped(CamelContext context) {
         // the agent hasn't been started
         if (!initialized) {
             return;