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/01/06 09:26:16 UTC

[camel] branch camel-3.0.x updated: CAMEL-14332: Camel route does not consider the value of ShutdownStrategy timeout. (#3444)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.0.x by this push:
     new bd18037  CAMEL-14332: Camel route does not consider the value of ShutdownStrategy timeout. (#3444)
bd18037 is described below

commit bd18037e70706803251695339041cd4557054076
Author: Luigi De Masi <55...@users.noreply.github.com>
AuthorDate: Mon Jan 6 10:26:02 2020 +0100

    CAMEL-14332: Camel route does not consider the value of ShutdownStrategy timeout. (#3444)
    
    (cherry picked from commit a10282c76c94b3e48454601b18029fdc451991c5)
---
 .../java/org/apache/camel/blueprint/BlueprintCamelContext.java     | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintCamelContext.java b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintCamelContext.java
index f14bffb..12aab9d 100644
--- a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintCamelContext.java
+++ b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintCamelContext.java
@@ -184,13 +184,6 @@ public class BlueprintCamelContext extends DefaultCamelContext implements Servic
                 } catch (Exception startEx) {
                     log.error("Error occurred during starting CamelContext: {}", this.getName(), startEx);
                 }
-            } else if (event.getType() == BlueprintEvent.DESTROYING) {
-                try {
-                    log.info("Stopping CamelContext: {}", this.getName());
-                    this.stop();
-                } catch (Exception stopEx) {
-                    log.error("Error occurred during stopping CamelContext: {}", this.getName(), stopEx);
-                }
             }
         }
     }