Skip to content

Introduce qualifier in @Cacheable for cache manager name [SPR-8696] #13338

Closed
@spring-projects-issues

Description

@spring-projects-issues

Gaetan Pitteloud opened SPR-8696 and commented

A qualifier attribute on @Cacheable would help to specify a CacheManager in the scenario described in the referenced forum post and summarized here:

Two modules define their own CacheManager and use @Cacheable together with <cache:annotation-driven cache-manager="_some_name_"/> in their respective XML configuration files.

When the XML configuration files from the two modules are used to build a single ApplicationContext, the second CacheManager is ignored as only one cache interceptor is registered by the namespace.


Affects: 3.1 M2

Reference URL: http://forum.springsource.org/showthread.php?110853

Issue Links:

Referenced from: commits 2b89c1a, f06cad9

10 votes, 12 watchers

Metadata

Metadata

Assignees

Labels

has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importin: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions