I have a class with lombok @RequiredArgsConstructor:
@RequiredArgsConstructor
@Service
public class Test{
private final String str;
private String str5;
// more code
}
In non-spring boot we provide in xml as:
<bean id="Test" class="com.abc.Test">
<constructor-arg index="0" value="${xyz}"/>
</bean>
how to achieve same from spring boot may be via application.properties but how to inject