Configuration Reference
Version:5.2.0
Micronaut Jms Activemq Artemis Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
Whether ActiveMQ Artemis is active. |
|
|
java.lang.String |
The connection string to identify the broker URL, e.g. vm://localhost or tcp://my-activemq-cluster:61616. |
|
|
java.lang.String |
The username. |
|
|
java.lang.String |
The password. |
Micronaut Jms Activemq Classic Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
Whether ActiveMQ Classic is active. |
|
|
java.lang.String |
The connection string to identify the broker URL, e.g. vm://localhost or tcp://my-activemq-cluster:61616. |
|
|
java.lang.String |
The username. |
|
|
java.lang.String |
The password. |
Micronaut Jms Core Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.Integer |
The initial size of the JMSConnectionPool, SessionPool, and MessageProducerPool. |
1 |
|
java.lang.Integer |
The maximum size of the JMSConnectionPool, SessionPool, and MessageProducerPool. |
50 |
| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
Whether listeners recreate a session that the JMS provider reports as failed. Defaults to {@code true}. |
true |
|
int |
The number of failed attempts to recreate a session that are logged as warnings. Later attempts are logged as errors, and continue until one succeeds or the listener shuts down. Defaults to 10. |
10 |
|
java.time.Duration |
How long a consumer waits after a failed attempt before the next one. The wait doubles after each attempt, up to {@link #getMaxDelay()}. It must be positive. Defaults to 1 second. |
PT1S |
|
java.time.Duration |
The longest wait between two attempts, which every attempt waits once the doubling reaches it. It must not be shorter than {@link #getInitialDelay()}. Defaults to 1 minute. |
PT1M |
| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
Whether producer methods reuse sessions, on one connection of each connection factory. When disabled, each send takes a connection from the pool and opens a session. Defaults to {@code true}. |
true |
|
int |
The maximum number of idle sessions kept for each connection factory and session mode. While sends wait for a session, released sessions are kept for them up to {@link #getMaxActive()}; the idle sessions above this number are closed once no send waits. Defaults to 8. |
8 |
|
int |
The maximum number of sessions of each connection factory that sends use at once, of all session modes. When all of them are borrowed, a send waits up to {@link #getMaxWait()} for one to be released. Defaults to 32. |
32 |
|
java.time.Duration |
How long a send waits for a session when {@link #getMaxActive()} sessions are borrowed, after which the send fails. Defaults to 10 seconds. |
10s |
Micronaut Jms Sqs Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
Whether SQS is active. |
|
|
java.lang.Integer |
Number of messages to prefetch for better receive turnaround times. |
0 |