MQ for SpringBoot configuration properties

  springboot

SpringBoot configuration property series

In addition, I attach some personal articles about springboot.

activemq

  • spring.activemq.broker-url
    Specifies the URL of ActiveMQ broker, which is automatically generated by default.

  • spring.activemq.in-memory
    Whether it is memory mode, the default is true.

  • spring.activemq.password
    Specify the broker’s password.

  • spring.activemq.pooled
    Whether to create PooledConnectionFactory instead of ConnectionFactory, default false

  • spring.activemq.user
    Specify the user for broker.

artemis(HornetQ's donation to apache)

  • spring.artemis.embedded.cluster-password
    Specifies the password of the cluster, which is randomly generated at startup by default.

  • spring.artemis.embedded.data-directory
    Specifies the directory of the Journal file. it is not necessary to specify if persistence does not start.

  • spring.artemis.embedded.enabled
    Whether to turn on embedded mode, the default is true

  • spring.artemis.embedded.persistent
    Whether persistent store is opened, the default is false.

  • spring.artemis.embedded.queues
    Specifies the queues created at startup, separated by commas, default: []

  • spring.artemis.embedded.server-id
    Specify the Server ID. the default is a self-increasing number, starting from 0.

  • spring.artemis.embedded.topics
    Specifies the topic created at startup, comma separated if multiple, default: []

  • spring.artemis.host
    Specify host for Artemis broker. Default: localhost

  • spring.artemis.mode
    Specifies the deployment mode of Artemis, which defaults to auto-detected.

  • spring.artemis.port
    Specifies the port of Artemis broker, which defaults to 61616

rabbitmq

  • spring.rabbitmq.addresses
    Specifies the address of the server to which the client is connected, separated by commas.

  • spring.rabbitmq.dynamic
    Whether to create AmqpAdmin bean. default: true)

  • spring.rabbitmq.host
    Specify RabbitMQ host. default: localhost)

  • spring.rabbitmq.listener.acknowledge-mode
    Specifies the mode of Acknowledge.

  • spring.rabbitmq.listener.auto-startup
    Whether mq is started at startup, default: true)

  • spring.rabbitmq.listener.concurrency
    Specify the minimum number of consumers.

  • spring.rabbitmq.listener.max-concurrency
    Specify the maximum number of consumers.

  • spring.rabbitmq.listener.prefetch
    Specifies how many messages a request can process, and if there are transactions, the number must be greater than or equal to the number of transactions.

  • spring.rabbitmq.listener.transaction-size
    Specify the number of messages for a transaction, preferably less than or equal to prefetch.

  • spring.rabbitmq.password
    Specify the broker’s password.

  • spring.rabbitmq.port
    Specifies the port of RabbitMQ, default: 5672)

  • spring.rabbitmq.requested-heartbeat
    Specify heartbeat timeout, 0 is unspecified.

  • spring.rabbitmq.ssl.enabled
    Whether to start SSL, default: false)

  • spring.rabbitmq.ssl.key-store
    Specifies the path to key store that holds SSL certificate.

  • spring.rabbitmq.ssl.key-store-password
    Specify the password to access key store.

  • spring.rabbitmq.ssl.trust-store
    Specifies the Trust store that holds SSL certificates.

  • spring.rabbitmq.ssl.trust-store-password
    Specify the password to access trust store.

  • spring.rabbitmq.username
    Specify the user name to log in to broker.

  • spring.rabbitmq.virtual-host
    Specifies the Virtual host connected to broker.

hornetq

  • spring.hornetq.embedded.cluster-password
    Specifies the password of the cluster, which is randomly generated at startup by default.

  • spring.hornetq.embedded.data-directory
    Specifies the directory of the Journal file. You do not need to specify if persistence is not turned on.

  • spring.hornetq.embedded.enabled
    Whether to turn on embedded mode, default: true

  • spring.hornetq.embedded.persistent
    Whether to open persistent store, default: false

  • spring.hornetq.embedded.queues
    Specifies that the startup is a queue created, multiple of which are separated by commas, default: []

  • spring.hornetq.embedded.server-id
    Specify the Server ID. the default value is a self-increasing number, starting from 0.

  • spring.hornetq.embedded.topics
    Specifies the topic created at startup. Multiple topics are separated by commas. Default: []

  • spring.hornetq.host
    Specify host for HornetQ broker, default: localhost

  • spring.hornetq.mode
    Specifies the deployment mode of HornetQ. The default is auto-detected. You can also specify native or embedded.

  • spring.hornetq.port
    Specify HornetQ broker port, default: 5445

jms

  • spring.jms.jndi-name
    Specifies the Connection factory JNDI name.

  • spring.jms.listener.acknowledge-mode
    Specify ack mode, default automatic ack.

  • spring.jms.listener.auto-startup
    Whether jms will be started automatically at startup; the default is: true

  • spring.jms.listener.concurrency
    Specify the minimum number of concurrent consumers.

  • spring.jms.listener.max-concurrency
    Specify the maximum number of concurrent consumers.

  • spring.jms.pub-sub-domain
    Whether to use the default destination type to support publish/subscribe, default: false