I want to have a list of values in a .properties file, ie:
my.list.of.strings=ABC,CDE,EFG
And to load it in my class directly, ie:
In my case of a list of integers works this:
@Value("#{${my.list.of.integers}}") private List listOfIntegers;
Property file:
my.list.of.integers={100,200,300,400,999}