Springboot Configuration Properties of MQ

Source: Internet
Author: User
Tags ack prefetch ssl certificate rabbitmq

Springboot Configuration Property Series

  • MVC of Springboot Configuration Properties

  • Springboot Configuration properties of the server

  • DataSource of Springboot Configuration Properties

  • Springboot Configuration Properties NoSQL

  • Springboot Configuration Properties of MQ

  • Security of Springboot Configuration properties

  • Migration of Springboot Configuration Properties

  • Springboot Configuration Properties of other

Also attach personal articles about Springboot

    • Springboot Past Life

    • Springboot Integrated MyBatis

    • The actuator of springboot four artifacts

    • The starter of springboot four artifacts

Activemq
    • Spring.activemq.broker-url
      Specifies the URL of the ACTIVEMQ broker, which is automatically generated by default.

    • Spring.activemq.in-memory
      is the memory mode, and the default is true.

    • Spring.activemq.password
      Specifies the password for the broker.

    • Spring.activemq.pooled
      Whether to create pooledconnectionfactory, not connectionfactory, default false

    • Spring.activemq.user
      Specifies the user of the broker.

Artemis HornetQ捐献给apache后的版本)
    • Spring.artemis.embedded.cluster-password
      Specifies the password for the cluster, which is randomly generated at startup.

    • Spring.artemis.embedded.data-directory
      Specifies the directory for the journal file. If you do not start persistence, you do not need to specify.

    • Spring.artemis.embedded.enabled
      Whether to turn on inline mode, default True

    • Spring.artemis.embedded.persistent
      Whether to turn on the persistent store, false by default.

    • Spring.artemis.embedded.queues
      Specifies the queue created at startup, with multiple commas separated by default: []

    • Spring.artemis.embedded.server-id
      Specifies the server ID. The default is a self-increment number, starting with 0.

    • Spring.artemis.embedded.topics
      Specifies the topic created at startup, with multiple words separated by commas, by default: []

    • Spring.artemis.host
      Specifies the host of the Artemis broker. Default: localhost

    • Spring.artemis.mode
      Specifies the deployment mode for Artemis, which defaults to auto-detected (or native or embedded).

    • Spring.artemis.port
      Specify the port for the 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 a amqpadmin bean. Default is: TRUE)

  • Spring.rabbitmq.host
    Specify RABBITMQ host. Default is: localhost)

  • Spring.rabbitmq.listener.acknowledge-mode
    Specifies the mode of the acknowledge.

  • Spring.rabbitmq.listener.auto-startup
    Whether to start MQ at startup, default: TRUE)

  • Spring.rabbitmq.listener.concurrency
    Specifies 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 handle, and must be greater than or equal to the number of transaction if there is a transaction.

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

  • Spring.rabbitmq.password
    Specifies the password for the broker.

  • Spring.rabbitmq.port
    Specify the port of the RABBITMQ, default: 5672)

  • Spring.rabbitmq.requested-heartbeat
    Specifies the heartbeat timeout, 0 is not specified.

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

  • Spring.rabbitmq.ssl.key-store
    Specify the path to the key store that holds the SSL certificate

  • Spring.rabbitmq.ssl.key-store-password
    Specifies the password to access the key store.

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

  • Spring.rabbitmq.ssl.trust-store-password
    Specifies the password to access the trust store.

  • Spring.rabbitmq.username
    Specifies the user name of the login broker.

  • Spring.rabbitmq.virtual-host
    Specifies the virtual host to connect to the broker.

Hornetq
    • Spring.hornetq.embedded.cluster-password
      Specifies the password for the cluster, which is randomly generated on default startup.

    • Spring.hornetq.embedded.data-directory
      Specifies the directory for the journal file. If you do not turn on persistence, you do not have to specify.

    • Spring.hornetq.embedded.enabled
      Whether to turn on inline mode, default: True

    • Spring.hornetq.embedded.persistent
      Whether to turn on persistent store, default: False

    • Spring.hornetq.embedded.queues
      Specifies that startup is the created queue, with multiple comma-delimited, default: []

    • Spring.hornetq.embedded.server-id
      Specifies the server ID. The self-increment number is used by default, starting with 0.

    • Spring.hornetq.embedded.topics
      Specifies the topic created at startup, with multiple comma-delimited, default: []

    • Spring.hornetq.host
      Specify host for HORNETQ broker, default: localhost

    • Spring.hornetq.mode
      Specifies the deployment mode for HORNETQ, which is auto-detected by default, or native or embedded can be specified.

    • 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
        Specifies the ACK mode, which is the default automatic ack.

      • Spring.jms.listener.auto-startup
        Whether to start JMS automatically at startup, by default: True

      • Spring.jms.listener.concurrency
        Specifies the minimum number of concurrent consumers.

      • Spring.jms.listener.max-concurrency
        Specifies the maximum number of concurrent consumers.

      • Spring.jms.pub-sub-domain
        Whether to use the default destination type to support Publish/subscribe, default: False

Springboot Configuration Properties of MQ

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.