Add auto-startup configuration property

Allow to disable the auto-startup flag of the default JMS and RabbitMQ
containers. This effectively permit to disable automatic listening via
configuration.

Closes gh-3587
This commit is contained in:
Stephane Nicoll
2015-07-24 06:35:26 +02:00
parent aa3393f18c
commit d6e914be87
7 changed files with 36 additions and 1 deletions

View File

@@ -475,6 +475,7 @@ content into your application; rather pick only the properties that you need.
spring.rabbitmq.password= # login password
spring.rabbitmq.requested-heartbeat= # requested heartbeat timeout, in seconds; zero for none
spring.rabbitmq.listener.acknowledge-mode= # acknowledge mode of container
spring.rabbitmq.listener.auto-startup=true # start the container automatically on startup
spring.rabbitmq.listener.concurrency= # minimum number of consumers
spring.rabbitmq.listener.max-concurrency= # maximum number of consumers
spring.rabbitmq.listener.prefetch= # number of messages to be handled in a single request
@@ -534,6 +535,7 @@ content into your application; rather pick only the properties that you need.
# JMS ({sc-spring-boot-autoconfigure}/jms/JmsProperties.{sc-ext}[JmsProperties])
spring.jms.jndi-name= # JNDI location of a JMS ConnectionFactory
spring.jms.listener.acknowledge-mode= # session acknowledgment mode
spring.jms.listener.auto-startup=true # start the container automatically on startup
spring.jms.listener.concurrency= # minimum number of concurrent consumers
spring.jms.listener.max-concurrency= # maximum number of concurrent consumers
spring.jms.pub-sub-domain= # false for queue (default), true for topic