@value with default value spring 4 code example
Example: default value for @Value
@Value("${some.key:my default value}")
private String stringWithDefaultValue;
@Value("${some.key:my default value}")
private String stringWithDefaultValue;