Skip to Content
Spring Boot in Action
book

Spring Boot in Action

by Craig Walls
December 2015
Intermediate to advanced
264 pages
8h 42m
English
Manning Publications
Content preview from Spring Boot in Action

Appendix C. Configuration properties

Although Spring Boot handles a lot of the grunt work when it comes to configuring the components in your application, you may want to fine-tune some of those components. That’s where configuration properties come in handy.

Chapter 3 describes the @ConfigurationProperties annotation and how it can be used to expose properties that you can configure external to application code. Just as you can use @ConfigurationProperties in components that you create, many of Spring Boot’s auto-configured components are also annotated with @ConfigurationProperties, making it possible to configure them via any supported property source.

For example, to specify the port that an embedded Tomcat or Jetty server should listen ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Spring Boot in Practice

Spring Boot in Practice

Somnath Musib

Publisher Resources

ISBN: 9781617292545Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link