diff --git a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc index c75674c3e1f..e1416f92ddd 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -68,7 +68,7 @@ content into your application; rather pick only the properties that you need. server.port=8080 server.address= # bind to a specific NIC server.compression.enabled=false # if response compression is enabled - server.compression.exclude-user-agents= # list of user-agents to exclude from compression + server.compression.excluded-user-agents= # list of user-agents to exclude from compression server.compression.mime-types=text/html,text/xml,text/plain,text/css # comma-separated list of MIME types that should be compressed server.compression.min-response-size=2048 # minimum response size that is required for compression to be performed server.context-parameters.*= # Servlet context init parameters, e.g. server.context-parameters.a=alpha diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index d55d6593f67..72edfb9a600 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -416,7 +416,7 @@ that and be sure that it has initialized is to add a `@Bean` of type `ApplicationListener` and pull the container out of the event when it is published. -A useful practice for use with `@WebIntegrationTests` is to set `server.port=0` +A useful practice for use with `@WebIntegrationTest` is to set `server.port=0` and then inject the actual ('`local`') port as a `@Value`. For example: [source,java,indent=0,subs="verbatim,quotes,attributes"] diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 88ed0943110..a8a9e462689 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -3087,7 +3087,7 @@ directly into your own beans: @Autowired public MyBean(AmqpAdmin amqpAdmin, AmqpTemplate amqpTemplate) { - this.adminTemplate = adminTemplate; + this.amqpAdmin = amqpAdmin; this.amqpTemplate = amqpTemplate; }