Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
It's reproducible with:
1) Install cellar
feature:repo-add cellar
feature:install cellar2) THEN install JCache
cluster:bundle-install -s default mvn:javax.cache/cache-api/1.1.0...) More bundles
3) MUST restart karaf
shutdown -r -fNow it's possible to use the cache api. (In other order it fails - reproducible)
It's reproducible with: 1) Install cellar feature:repo-add cellar feature:install cellar 2) THEN install JCache cluster:bundle-install -s default mvn:javax.cache/cache-api/1.1.0 ...) More bundles 3) MUST restart karaf shutdown -r -f Now it's possible to use the cache api. (In other order it fails - reproducible)
Description
Cellar is coming with a hazelcast bundle. The bundle will not import packages from javax.cache/cache-api/1.1.0 and therefore it's not possible to use caching capabilities from hazelcast.
Solutions could be dynamic imports or an optional reference to the cache api.