Answers for "spring @value list of strings"

0

spring @value list of strings

@Value("#{'${my.list.of.strings}'.split(',')}") 
private List<String> myList;
Posted by: Guest on July-29-2021

Browse Popular Code Answers by Language