@Value() + spring boot code example Example: @value example spring boot @Value("${value.from.file}")private String valueFromFile;