Skip to content

Guard non-initialized RedisConnectionFactory.getConnection() with IllegalStateException #2057

Closed
@mp911de

Description

@mp911de

From #2053 we learned that it is pretty simple to run into a scenario where a connection factory remains unconfigured while obtaining connections works to a certain degree. We should fail early with an IllegalStateException if the connection factory is not fully initialized via afterPropertiesSet to avoid using partially configured clients.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions