Migrate RedisConnectionFactory
to Lifecycle
beans
#2503
Labels
type: enhancement
A general enhancement
RedisConnectionFactory
to Lifecycle
beans
#2503
Based on spring-projects/spring-framework#29921, we could move our connection factories towards beans that implement the lifecycle. This would be especially useful to decouple
afterPropertiesSet
from the connection pool startup anddispose()
where we dispose resources. Withstart()
andstop()
connection factories could start up pools and tear down as necessary without destroying the entire bean.The text was updated successfully, but these errors were encountered: