title: Not able to inject config property with quarkus
body: <p>I am trying to migrate an existing app from Spring, but I am hitting some issues. I have this in my application.properties:</p>
  
  <pre><code>sms.gateway.pinLength = 5
  </code></pre>
  
  <p>The class to load this property is as follows:</p>
  
  <pre><code>import io.quarkus.arc.config.ConfigProperties;
  
  @ConfigProperties(prefix="sms.gateway")
  public class SmsGatewayConfig {
  
      public Integer pinLength;
  
      public Integer getPinLength() {
          return pinLength;
      }
  
      public void setPinLength(Integer pinLength) {
          this.pinLength = pinLength;
      }
  }
  </code></pre>
  
  <p>This triggers error message:</p>
  
  <pre><code>No config value of type [java.lang.Integer] exists for: sms.gateway.pin-length
  </code></pre>
  
  <p>If I change pinLength in the config file to pin-length, this same code works. Also, if I change this code to following, it also works without problem:</p>
  
  <pre><code>import javax.enterprise.context.ApplicationScoped;
  import org.eclipse.microprofile.config.inject.ConfigProperty;
  
  @ApplicationScoped
  public class SmsGatewayConfig {
  
      @ConfigProperty(name="sms.gateway.pinLength")
      public Integer pinLength;
  
      public Integer getPinLength() {
          return pinLength;
      }
  
      public void setPinLength(Integer pinLength) {
          this.pinLength = pinLength;
      }
  }
  </code></pre>
  
  <p>What am I missing? This works fine in Spring.</p>