Wednesday, September 24, 2014

Using wildcards for spring MessageSources


by Emil Korladinov 



Overview 

Recently I worked on a Spring project which uses a lot of property files located all over the source tree. The requirement is to use these property files as part of the messageSource configured by Spring Framework.After dome time spent in searching suitable solution, I came up with a custom solution which I want to share with all interested.

Wildcard enabled Spring message source

XML Configuration


Java Configuration

1 comment:

  1. Harrah's Lake Tahoe - MapyRO
    View map of Harrah's Lake 서산 출장안마 Tahoe, Stateline, NV. Harrah's Casino, Hotel, 진주 출장샵 and RV Park in Stateline. 777 강원도 출장샵 Harrah's Blvd. 당진 출장샵 Stateline, 영주 출장샵 NV 89449.

    ReplyDelete

Spring magic: Dynamically set URI prefix for group of controllers

Overview Say you have a big Spring or Spring Boot project with a lot of controller, which you want do separate in different groups with d...