I was trying to get an External Spring Context. IgniteSpring.start() helped.
Thank You
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Spring-Bean-Injection-To-IgniteRunnable-Implementation-tp16275p16363.html
Sent from the Apache Ignite Users mailing list
class which allows to
provide external context explicitly.
BTW, IgnitionEx is internal class, it is not supposed to be used in your
code.
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Spring-Bean-Injection-To-IgniteRunnable-Implementation-tp16275p16307.html
gniteSchedulerService());
My Ignite Service class execute method is
@Override
public void execute(ServiceContext ctx) throws Exception {
SchedulerFuture fut = ignite.scheduler().scheduleLocal(new
FetchMetadataTask(appContext), "*/5 * * * *");
}
--
View this message in con
How do you start the server node where this runnable is executed? Does the
configuration contains the required bean?
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Spring-Bean-Injection-To-IgniteRunnable-Implementation-tp16275p16299.html
Sent from the
d run() {
MetaDataService metadataService =
appCtx.getBean(MetaDataService.class);
log.debug("FetchMetadataTask
$MetaDataService"+metadataService);
}
}
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Spring-Be