Re: About Ignite-Spring with GridService issue.

2015-11-16 Thread Denis Magda
Hi, You have to use @SprintResource annotation if you want to inject something from a spring application context into Ignite’s compute task. @Autowire annotation is not supported. Best regards, Denis > On 16 нояб. 2015 г., at 7:03, 姜 为 wrote: > > I found hot to fix this, add @SpringResource t

Re: About Ignite-Spring with GridService issue.

2015-11-15 Thread 姜 为
I found hot to fix this, add @SpringResource to the field will work fine. > 在 2015年11月16日,上午9:40,姜 为 写道: > > Hi: > Here is example: https://github.com/wmz7year/ignite-test > > > I think the IgniteUtils.wrapThreadLoader load the class

Re: About Ignite-Spring with GridService issue.

2015-11-15 Thread 姜 为
Hi: Here is example: https://github.com/wmz7year/ignite-test I think the IgniteUtils.wrapThreadLoader load the class is not the spring proxy class. Does I’m right? > 在 2015年11月14日,下午10:58,姜 为 写道: > > Hello, > > I’m using Ignite-Spring testing GridService rpc

About Ignite-Spring with GridService issue.

2015-11-14 Thread 姜 为
Hello, I’m using Ignite-Spring testing GridService rpc. Like this example https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/servicegrid/ServicesExample.java