Hello!
I use Wildfly 18, maven and Delta Spike. When I try to resolve property config 
by programmatic lookup, property value is received successful:
 
Integer v = ConfigResolver.resolve("myproperty")
   .as(Integer.class)
   .withDefault(12345)
   .getValue();
 
But if I try to inject this property, this value is always null:
 
@ApplicationScoped
public class MyApplication {
 
   @Inject
   @ConfigProperty(name = "myproperty", defaultValue = "12345")
   private String myProperty;
 
...
}
 
How I can fix this problem?
Thanks

Reply via email to