This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch 2.13.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 84a5688015fc6498c619fdc59e5668c089de39af Author: Gerry Forde <[email protected]> AuthorDate: Tue Jan 10 11:41:41 2023 +0000 Add extra support content for JMS pooling usage. --- docs/modules/ROOT/pages/reference/extensions/jms.adoc | 13 +++++++++++++ extensions/jms/runtime/src/main/doc/usage.adoc | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/docs/modules/ROOT/pages/reference/extensions/jms.adoc b/docs/modules/ROOT/pages/reference/extensions/jms.adoc index 67dce11095..bbef9554d8 100644 --- a/docs/modules/ROOT/pages/reference/extensions/jms.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/jms.adoc @@ -61,6 +61,19 @@ Note that this extension automatically sets `quarkus.camel.native.reflection.ser [id="extensions-jms-usage-support-for-connection-pooling-and-x-open-xa-distributed-transactions"] === Support for Connection pooling and X/Open XA distributed transactions +ifeval::[{doc-show-extra-content} == true] + +[NOTE] +==== +Connection pooling is a Technical Preview feature in this release of {project-name}. + +To use connection pooling in the `camel-quarkus-jms` components, you must add `io.quarkiverse.artemis:quarkus-artemis` and `io.quarkiverse.messaginghub:quarkus-pooled-jms` to your pom.xml and set the following configuration: +---- +quarkus.pooled-jms.max-connections = 8 +---- +==== + +endif::[] You can use the `quarkus-pooled-jms` extension to get pooling and XA support for JMS connections. Refer to the https://quarkiverse.github.io/quarkiverse-docs/quarkus-pooled-jms/dev/index.html[quarkus-pooled-jms] extension documentation for more information. Currently, it only works with `quarkus-artemis-jms` extension. Just add these two dependencies to your `pom.xml`: diff --git a/extensions/jms/runtime/src/main/doc/usage.adoc b/extensions/jms/runtime/src/main/doc/usage.adoc index 4517ad3b87..d1a92d04c7 100644 --- a/extensions/jms/runtime/src/main/doc/usage.adoc +++ b/extensions/jms/runtime/src/main/doc/usage.adoc @@ -9,6 +9,19 @@ When sending JMS message payloads as `javax.jms.ObjectMessage`, you must annotat Note that this extension automatically sets `quarkus.camel.native.reflection.serialization-enabled = true` for you. Refer to the xref:user-guide/native-mode.adoc#serialization[native mode user guide] for more information. === Support for Connection pooling and X/Open XA distributed transactions +ifeval::[{doc-show-extra-content} == true] + +[NOTE] +==== +Connection pooling is a Technical Preview feature in this release of {project-name}. + +To use connection pooling in the `camel-quarkus-jms` components, you must add `io.quarkiverse.artemis:quarkus-artemis` and `io.quarkiverse.messaginghub:quarkus-pooled-jms` to your pom.xml and set the following configuration: +---- +quarkus.pooled-jms.max-connections = 8 +---- +==== + +endif::[] You can use the `quarkus-pooled-jms` extension to get pooling and XA support for JMS connections. Refer to the https://quarkiverse.github.io/quarkiverse-docs/quarkus-pooled-jms/dev/index.html[quarkus-pooled-jms] extension documentation for more information. Currently, it only works with `quarkus-artemis-jms` extension. Just add these two dependencies to your `pom.xml`:
