Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-11-09 Thread ashishb888
Yes Ilya, it worked. Thank you! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-11-09 Thread Ilya Kazakov
Hello, Asish! Does it work? -- Ilya Kazakov пн, 9 нояб. 2020 г. в 21:26, ashishb888 : > Thank you Ilya! > > I did replace Ignite bean with IgniteSpringBean by using Java configuration > (and not the XML) as below, > > @Slf4j > @Configuration > public class BeansConfi

Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-11-09 Thread ashishb888
Thank you Ilya! I did replace Ignite bean with IgniteSpringBean by using Java configuration (and not the XML) as below, @Slf4j @Configuration public class BeansConfig { @Bean public IgniteSpringBean igniteSpringBean() { log.debug("igniteSpringBean service");

Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-11-06 Thread Ilya Kazakov
Hello, Asish! Try to clean your BeanConfig class. Write this class like (in the client and in the server app): import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.ImportResource; @Configuration @ImportResource({"classpath*:applicationContext

Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-11-02 Thread ashishb888
Hi Ilya, My bad I forgot to push the changes. Now I just pushed the changes so you can find the required details. BR, Ashish -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-11-02 Thread Ilya Kazakov
Hello, Ashish! But I can not find poc.ignite.service.ComputeService class by your link. Maybe you sent the wrong link? Check, please. Ilya Kazakov вт, 3 нояб. 2020 г. в 12:11, ashishb888 : > Awaiting response. If you anything else let me know > > BR, > Ashish > > > > -- > Sent from: http://apac

Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-11-02 Thread ashishb888
Awaiting response. If you anything else let me know BR, Ashish -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-10-27 Thread ashishb888
Hello Ilya, All actions happens in service package e.g. poc.ignite.service.ComputeService#main() Starting server: ignite-spring-resource$ java -jar target/*.jar Starting client: ignite-spring-resource-compute-client$ java -jar target/*.jar I have attached the logs ignite-spring-resource.log

Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-10-27 Thread Ilya Kazakov
Hello, Ashish! But I see in your example only config and Main classes. Can you show, please, some actions in your code? -- Ilya Kazakov вт, 20 окт. 2020 г. в 17:06, ashishb888 : > Thank you Ilya for the response. > > I have two application first one is the server and second one

Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-10-20 Thread ashishb888
Thank you Ilya for the response. I have two application first one is the server and second one is client. Here you can find the sever application code and here

Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-10-19 Thread Ilya Kazakov
Hello! I am trying to reproduce your issue and in my example everything is ok. It looks like you create your spring application without igniteSpringBean. Look at my example, please. / public class Main { public static void

Re: Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-10-15 Thread ashishb888
Please help -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Using @SpringResource & @SpringApplicationContextResource in IgniteCallable

2020-10-12 Thread ashishb888
static class ICCall implements IgniteCallable { private static final long serialVersionUID = 4278959731940740185L; @IgniteInstanceResource private Ignite ignite; @SpringResource(resourceName = "testService") private T