I use PropertyPlaceholderConfigurer to match String values ββfrom a properties file and it works fine.
My question is, can I set something in my properties file: MyList = A, B, C
And then match it to the list
@Value("${myList}") private List<String> myList;
When I try, it puts all the values ββin one place in the list. Is there any way to tell this to break it into a list on ","?
source share