Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
5.0.5
-
None
-
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164), jetty:run on Mac.
Description
Mail conversion tells that the following should be the same:
@Inject @Value("${my.parameter}")
private String parameter;
and:
@Inject
private SymbolSource symbolSource;
symbolSource.expandSymbols("${my.parameter}");
However, the first example isn't working. Also, providing a non-existing symbol for expandSymbols gives a runtime error whereas @Value doesn't.