Skip to content

Commit

Permalink
add some doc for pooling support added in #23 / #22
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmellr committed Apr 26, 2023
1 parent 5410b28 commit 6387ce3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,17 @@ The client can then be utilised though dependency injection of a JMS ConnectionF

### Configuration

The connection factory configuration is controlled using 3 runtime config properties, e.g in your `application.properties` file:
The connection factory configuration is controlled using runtime config properties, e.g in your `application.properties` file:

| Config Property | Description | Default |
| ------------------------- | --------------------------------------- | ----------------------- |
| quarkus.qpid-jms.url | Connection URL for the injected factory | "amqp://localhost:5672" |
| quarkus.qpid-jms.username | Optional username to set on the factory | |
| quarkus.qpid-jms.password | Optional password to set on the factory | |
| quarkus.qpid-jms.wrap | Allow factory to be wrapped (see below) | false |

For full details of the client URL and its related options, consult the configuration documentation on the [Apache Qpid](https://qpid.apache.org/components/jms/) website.

##### Factory wrapping, e.g. Pooling.

The `quarkus.qpid-jms.wrap` setting can allow the Qpid JMS extension to apply a ConnectionFactory wrapper supplied by another extension to the injected ConnectionFactory. For example, setting this value to true and adding an additional dependency on [quarkus-pooled-jms](https://github.com/quarkiverse/quarkus-pooled-jms) to your application allows quarkus-pooled-jms to provide pooling for the injected ConnectionFactory.

0 comments on commit 6387ce3

Please sign in to comment.