Is it possible to set @Value from another variable
For eg.
System properties : firstvariable=hello ,secondvariable=world
@Value(#{systemProperties['firstvariable'])
String var1;
Now I would like to have var2 to be concatenated with var1 and dependant on it , something like
@Value( var1 + #{systemProperties['secondvariable']
String var2;
public void message(){ System.out.printlng("Message : " + var2 );