Description
When a CacheStore with a @SpringResource annotated field is configured Ignite fails to start via igniteSpringBean.
Example configuration leading to the failure is as follows
public class SpringIgniteCacheStore<K, V> extends CacheStoreAdapter<K, V> implements Serializable { @SpringResource(resourceClass = SomeDao.class) public transient SomeDao someDao; ... } @Configuration public class IgniteSpringConfig { @Bean public IgniteSpringBean igniteSpringBean() { IgniteSpringBean igniteSpringBean = new IgniteSpringBean(); ... return igniteSpringBean; } ... }
Attachments
Issue Links
- causes
-
IGNITE-8740 Support reuse of already initialized Ignite in IgniteSpringBean
- Resolved
- links to