Improve ActiveMQ connection pool configuration
Closes gh-1598
This commit is contained in:
@@ -726,8 +726,13 @@ content into your application; rather pick only the properties that you need.
|
||||
spring.activemq.broker-url= # URL of the ActiveMQ broker. Auto-generated by default. For instance `tcp://localhost:61616`
|
||||
spring.activemq.in-memory=true # Specify if the default broker URL should be in memory. Ignored if an explicit broker has been specified.
|
||||
spring.activemq.password= # Login password of the broker.
|
||||
spring.activemq.pooled=false # Specify if a PooledConnectionFactory should be created instead of a regular ConnectionFactory.
|
||||
spring.activemq.user= # Login user of the broker.
|
||||
spring.activemq.pool.enabled=false # Specify if a PooledConnectionFactory should be created instead of a regular ConnectionFactory.
|
||||
spring.activemq.pool.max-connections=1 # The maximum number of pooled Connections
|
||||
spring.activemq.pool.max-sessions-per-connection=500 # The maximum number of active sessions per connection
|
||||
spring.activemq.pool.time-between-eviction-runs-millis=-1 # The number of milliseconds to sleep between runs of the idle Connection eviction thread.
|
||||
spring.activemq.pool.idle-time-millis=30000 # The idle timeout value for Connection's that are created by this pool (in Milliseconds)
|
||||
spring.activemq.pool.expiry-time-millis=0 # Allow connections to expire, irrespective of load or idle time
|
||||
|
||||
# ARTEMIS ({sc-spring-boot-autoconfigure}/jms/artemis/ArtemisProperties.{sc-ext}[ArtemisProperties])
|
||||
spring.artemis.embedded.cluster-password= # Cluster password. Randomly generated on startup by default.
|
||||
|
||||
Reference in New Issue
Block a user