We're updating the issue view to help you get more done. 

Refactor the way configuration is read

Description

Currently there's the default configuration file, but this is completely ignored when user sets his own configuration file or when createCacheManager() is overridden. There are no warnings and no sensible defaults when certain cache configuration is not present. Also, pending puts cache configuration needs to be wired into the code.

2LC should use configuration from the cache manager (started with provided configuration file if the region factor is not overridden) and if the cache config is not present, load the default from infinispan-config.xml.

Environment

None

Status

Assignee

Radim Vansa

Reporter

Radim Vansa

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major