Author: cwiklik
Date: Wed Jan 13 20:33:05 2016
New Revision: 1724509

URL: http://svn.apache.org/viewvc?rev=1724509&view=rev
Log:
UIMA-4744 fixes RM admin channel not starting with the new version of Camel

Modified:
    
uima/sandbox/uima-ducc/trunk/uima-ducc-rm/src/main/java/org/apache/uima/ducc/rm/ResourceManagerComponent.java

Modified: 
uima/sandbox/uima-ducc/trunk/uima-ducc-rm/src/main/java/org/apache/uima/ducc/rm/ResourceManagerComponent.java
URL: 
http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-rm/src/main/java/org/apache/uima/ducc/rm/ResourceManagerComponent.java?rev=1724509&r1=1724508&r2=1724509&view=diff
==============================================================================
--- 
uima/sandbox/uima-ducc/trunk/uima-ducc-rm/src/main/java/org/apache/uima/ducc/rm/ResourceManagerComponent.java
 (original)
+++ 
uima/sandbox/uima-ducc/trunk/uima-ducc-rm/src/main/java/org/apache/uima/ducc/rm/ResourceManagerComponent.java
 Wed Jan 13 20:33:05 2016
@@ -121,7 +121,8 @@ public class ResourceManagerComponent
                          .process(new RmAdminEventProcessor(delegate));
                 }
             });
-        
+
+       getContext().startRoute("RMAdminRoute");
         if (logger != null) {
             logger.info("startRMAdminChannel", null, "Admin Channel Activated 
on endpoint:" + endpoint);
         }
@@ -203,7 +204,7 @@ public class ResourceManagerComponent
        String methodName = "start";
         converter = new JobManagerConverter(scheduler, stabilityManager);
 
-        super.start(service, args);
+       super.start(service, args);
         
DuccDaemonRuntimeProperties.getInstance().boot(DaemonName.ResourceManager, 
super.getProcessJmxUrl());
 
         initStability         = 
SystemPropertyResolver.getIntProperty("ducc.rm.init.stability", 
DEFAULT_INIT_STABILITY_COUNT);
@@ -222,7 +223,7 @@ public class ResourceManagerComponent
         } else {
             startRmAdminChannel(adminEndpoint, this);
         }
-        
+
         scheduler.init();
         
         startStabilityTimer();


Reply via email to