Add ResourceBasedMessageSourceConfigurer

Signed-off-by: henriquejsza <henriquejsza@gmail.com>

See gh-51484
This commit is contained in:
henriquejsza
2026-09-02 14:53:00 +01:00
committed by Andy Wilkinson
parent 2772023050
commit 626d5fdf3c
4 changed files with 166 additions and 43 deletions
@@ -23,3 +23,5 @@ TIP: The configprop:spring.messages.basename[] property supports a list of locat
The configprop:spring.messages.common-messages[] property supports a list of property file resources.
See javadoc:org.springframework.boot.autoconfigure.context.MessageSourceProperties[] for more supported options.
If you need to use a different implementation of javadoc:org.springframework.context.support.AbstractResourceBasedMessageSource[], Spring Boot provides a javadoc:org.springframework.boot.autoconfigure.context.ResourceBasedMessageSourceConfigurer[] bean that you can use to apply the same settings as the auto-configured message source.