james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [06/13] james-project git commit: JAMES-2448 Start camel context before loading processors
Date Thu, 05 Jul 2018 02:01:28 GMT
JAMES-2448 Start camel context before loading processors


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/b374cf9f
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/b374cf9f
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/b374cf9f

Branch: refs/heads/master
Commit: b374cf9f5ca1cb3645e7269dc5709e0adc33288e
Parents: a8f83ab
Author: benwa <btellier@linagora.com>
Authored: Mon Jul 2 11:11:33 2018 +0700
Committer: benwa <btellier@linagora.com>
Committed: Thu Jul 5 08:58:13 2018 +0700

----------------------------------------------------------------------
 .../mailetcontainer/impl/camel/CamelCompositeProcessor.java      | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/b374cf9f/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/camel/CamelCompositeProcessor.java
----------------------------------------------------------------------
diff --git a/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/camel/CamelCompositeProcessor.java
b/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/camel/CamelCompositeProcessor.java
index 14aeaeb..06e34cd 100644
--- a/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/camel/CamelCompositeProcessor.java
+++ b/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/camel/CamelCompositeProcessor.java
@@ -72,14 +72,12 @@ public class CamelCompositeProcessor extends AbstractStateCompositeProcessor
imp
     @Override
     @PostConstruct
     public void init() throws Exception {
-        super.init();
-
         // Make sure the camel context get started
         // See https://issues.apache.org/jira/browse/JAMES-1069
         if (getCamelContext().getStatus().isStopped()) {
             getCamelContext().start();
         }
-
+        super.init();
     }
 
     @PreDestroy


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message