As we have already learned, Quarkus relies on the MicroProfile Config specification to inject configuration properties into our application. So far, we have used the default configuration file (named application.properties) to provide initial values for the application's initial settings.
Let's recap with a basic example of how to inject a property, including a default value for the attribute:
@Inject
@ConfigProperty(name="tempFileName", defaultValue="file.tmp")
String fileName;
In the preceding code, we are injecting an application property into the fileName variable. Note that property names should be carefully planned since Quarkus ships with an extensive set of system properties that can be used to manage its environment. Luckily, you don't need to have your documentation at hand to check for all the available...