camel-quarkus
camel-quarkus copied to clipboard
Introduce camel-quarkus-jcache-caffeine
Follows up https://github.com/apache/camel-quarkus/pull/4088
and the discussion in https://github.com/apache/camel-quarkus/issues/1846#issuecomment-1245928494
com.github.benmanes.caffeine.jcache.copy.JavaSerializationCopieris still needed;I see. I'd say the most user friendly solution would be to create a new extension
camel-quarkus-jcache-caffeinethat would host this reflection registration plus it would depend onquarkus-caffeine. We should also add a hint toextensions/jcache/runtime/src/main/doc/usage.adocthat end users may want to depend oncamel-quarkus-jcache-caffeineif they want to use caffeine as a jcache impl.
I submitted a PR to Quarkus https://github.com/quarkusio/quarkus/pull/27937
Once merged, all we need to do is some cleanup in camel-quarkus-jcache, and no need to introduce another extension.