@Override protected void doStart() throws Exception { if (timer == null) { timer = new HashedWheelTimer(); } super.doStart(); }
@Override protected void doStart() throws Exception { super.doStart(); if (scheduler == null) { createAndInitScheduler(); } }
@Override protected void doStart() throws Exception { super.doStart(); if (cacheManagerFactory == null) { InputStream is = null; if (configurationFile != null) { is = ResourceHelper.resolveMandatoryResourceAsInputStream( getCamelContext().getClassResolver(), configurationFile); } cacheManagerFactory = new DefaultCacheManagerFactory(is, configurationFile); } ServiceHelper.startService(cacheManagerFactory); }