Doc: MessageSource is identified by bean name, this is very confusing [SPR-4321] #9000
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Alef Arendsen opened SPR-4321 and commented
MessageSource is (AFAIK) one of the few beans that are NOT automatically picked up by type by the application context. In the past ViewResolver and HandlerMapping were picked up by id too, but not anymore.
Can we change MessageSource to by picked up by type too instead of by name? It's very confusing to people right now I just learned...
Affects: 2.0.8, 2.5.1
The text was updated successfully, but these errors were encountered: