title: get value config server spring boot
body: <p>I use spring boot and jboss eap 6.4 for deploying application. in my pom.xml set config server. the file name is letter-printing-eap-generator.yml. this file contains value. how to get the data from this file? or can you give me the references? because I had find but no one match with my case.</p>
  
  <p>pom.xml:</p>
  
  <pre><code>&lt;properties&gt;
      &lt;config.server&gt;http://10.170.49.103/configserver&lt;/config.server&gt;
  &lt;/properties&gt;
  
  &lt;plugin&gt;
                  &lt;groupId&gt;org.jboss.as.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;jboss-as-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;7.9.Final&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;jbossHome&gt;${jboss.home}&lt;/jbossHome&gt;
                      &lt;serverArgs&gt;
                          &lt;serverArg&gt;-Dspring.profiles.active=${run.profiles}&lt;/serverArg&gt;
                          &lt;serverArg&gt;-Dspring.cloud.config.uri=${config.server}&lt;/serverArg&gt;
                      &lt;/serverArgs&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>application.properties:</p>
  
  <pre><code>spring.application.name=letter-printing-eap-generator
  </code></pre>
  
  <p>bootstrap.yml:</p>
  
  <pre><code>spring.jmx.default-domain: letter-printing-eap-generator
  </code></pre>