Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6555

When a CacheStore with a @SpringResource annotated field is configured Ignite fails to start via igniteSpringBean

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.4
    • Component/s: spring
    • Labels:

      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

            Activity

              People

              • Assignee:
                asfedotov Alexandr Fedotov
                Reporter:
                asfedotov Alexandr Fedotov
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: