This guide will give you an introduce on how to auto scan properties files into MessageSource without hard coding file names in Java.