Hi Neelesh, You can inject job context into the closure using annotation:
public class MyGridJob implements IgniteRunnable {
@JobContextResource
private ComputeJobContext jobCtx;
...
}
Let me know if it works for you.
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Setting-jobcontext-attributes-for-jobs-submitted-via-run-call-tp3209p3213.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
