Skip to content

Make JCachePropertiesCustomizer public #29542

@mwerlitz

Description

@mwerlitz

Please make org.springframework.boot.autoconfigure.cache.JCachePropertiesCustomizer public, so the properties that are used to initialize the CacheManager can be customized by an application.

I would like to use the property replacement feature of EhCache in the configuration XML file.
At the moment this is not possible because the properties supplied when creating the CacheManager in JCacheCacheConfiguration#createCacheManager are empty and there seems to be no way to supply additional properties.

The code in JCacheCacheConfiguration#createCacheManagerProperties is supposed to create these properties with the help of JCachePropertiesCustomizer instances. But JCachePropertiesCustomizer is not public so one has no possibility to supply additional props that may be used in the XML config file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: external-projectFor an external project and not something we can fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions