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:
I think this is simpler for grabbing the array and stripping spaces:
@Value("#{'${my.array}'.replace(' ', '').split(',')}") private List array;