My company choose scaleoutsoftware/SOSS as the in-memory cache solution. It is working fine with SpintBoot. Currently, we are migrating all our SprintBoot applications to Quarkus. I cannot get scaleoutsoftware/SOSS work in Quarkus. Seems Quarkus cannot load or process the Jcache configuration in the application.yml. Really appreciate any comments or suggestion.
This is Quarkus configuration (application.yml):
quarkus:
cache:
type: jcache
jcache:
provider: com.scaleoutsoftware.soss.cache.ScaleoutCachingProvider
This is my code:
@Autowired
private javax.cache.CacheManager cacheManager;
This is error I get when I start up Quarkus:
[error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type javax.cache.CacheManager and qualifiers [@Default]
- java member: com.***.cache.DataCacheManager#cacheManager
- declared on CLASS bean [types=[com.***.cache.DataCacheManager, java.lang.Object], qualifiers=[@Default, @Named(value = "dataCacheManager"), @Any], target=com.***.cache.DataCacheManager]