Uhm, don’t have a tested example but it seems pretty trivial.
It would be something like
@Bean
public SpringCacheManager SpringCacheManager() {
IgniteConfiguration cfg = new IgniteConfiguration();
cfg.setIgniteInstanceName("WebGrid");
// set more Ignite parameters if needed
SpringCacheManager springCacheManager = new SpringCacheManager();
springCacheManager.setConfiguration(cfg);
return springCacheManager;
}
Stan
From: ignite_user2016
Sent: 11 октября 2018 г. 20:13
To: [email protected]
Subject: RE: Ignite on Spring Boot 2.0
Do you have any sample here ? the bean define in ignite configuration would
not work with spring boot context. we need to instantiate spring cache
manager with in spring boot context.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/