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 95cee588af..cee5f25cf0 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -4334,6 +4334,16 @@ ActiveMQ configuration is controlled by external configuration properties in spring.activemq.password=secret ---- +You can also pool JMS resources by adding a dependency to +`org.apache.activemq:activemq-pool` and configure the `PooledConnectionFactory` +accordingly: + +[source,properties,indent=0] +---- + spring.activemq.pool.enabled=true + spring.activemq.pool.max-connections=50 +---- + See {sc-spring-boot-autoconfigure}/jms/activemq/ActiveMQProperties.{sc-ext}[`ActiveMQProperties`] for more of the supported options.