From f72e0c08df6ed6abd01560939201749b8e0f38c9 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 15 Mar 2017 14:51:55 +0100 Subject: [PATCH] Add a note to ActiveMQ pooling in the doc Closes gh-8598 --- .../src/main/asciidoc/spring-boot-features.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 be517ab8e5..3aed175f3d 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -4240,6 +4240,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.