Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

MessageSource Parent

This example shows a barebones way to extend the default MessageSource created by Spring Boot so that it also includes messages from *.properties-files that aren't defined by the spring.messages.basename property.

The background for this example is covered by the following blog post:

How to Get

To check out the project, open Git Bash and enter the following:

git clone


This project contains the following:

  • MessageSourceExtensionConfig, which sets up a BeanPostProcessor bean that alters the MessageSource bean
  • MessageSourceCustomExtenderTest, which defines a number of unit tests
  • A number of *.properties-files under test resources to assist with the unit testing
You can’t perform that action at this time.