The following produces a null error ("A" is null), but I am not sure why. Is the bean instantiated before the property value is set?
package org.ets.readtogether.queuing;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component("Abean")
public class Test {
@Value("${send.timeout.secs}")
public Integer A;
public int B = A * 1000;
}