How can I access 'spring.application.name' when defined in bootstrap.properties? : <p>I have the following spring-boot 1.4.2.RELEASE sample app</p>

<pre><code>@SpringBootApplication
public class Application {

    @Value("${spring.application.name}")
    private String applicationName;

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
</code></pre>

<p>And I have the following configuration defined in bootstrap.properties:</p>

<pre><code>spring.application.name=sample-app
</code></pre>

<p>When run it I get the following error: </p>

<pre><code>java.lang.IllegalArgumentException: Could not resolve placeholder 'spring.application.name' in string value "${spring.application.name}"
</code></pre>

<p>Any hint on why it fails to inject 'spring.application.name'? 
Need to define it there to support other spring boot cloud. </p>
