SpringBoot配置属性系列

另外附上个人关于springboot的一些文章

activemq

  • spring.activemq.broker-url
    指定ActiveMQ broker的URL,默认自动生成.

  • spring.activemq.in-memory
    是否是内存模式,默认为true.

  • spring.activemq.password
    指定broker的密码.

  • spring.activemq.pooled
    是否创建PooledConnectionFactory,而非ConnectionFactory,默认false

  • spring.activemq.user
    指定broker的用户.

artemis(HornetQ捐献给apache后的版本)

  • spring.artemis.embedded.cluster-password
    指定集群的密码,默认是启动时随机生成.

  • spring.artemis.embedded.data-directory
    指定Journal文件的目录.如果不开始持久化则不必要指定.

  • spring.artemis.embedded.enabled
    是否开启内嵌模式,默认true

  • spring.artemis.embedded.persistent
    是否开启persistent store,默认false.

  • spring.artemis.embedded.queues
    指定启动时创建的队列,多个用逗号分隔,默认: []

  • spring.artemis.embedded.server-id
    指定Server ID. 默认是一个自增的数字,从0开始.

  • spring.artemis.embedded.topics
    指定启动时创建的topic,多个的话逗号分隔,默认: []

  • spring.artemis.host
    指定Artemis broker 的host. 默认: localhost

  • spring.artemis.mode
    指定Artemis 的部署模式, 默认为auto-detected(也可以为native or embedded).

  • spring.artemis.port
    指定Artemis broker 的端口,默认为: 61616

rabbitmq

  • spring.rabbitmq.addresses
    指定client连接到的server的地址,多个以逗号分隔.

  • spring.rabbitmq.dynamic
    是否创建AmqpAdmin bean. 默认为: true)

  • spring.rabbitmq.host
    指定RabbitMQ host.默认为: localhost)

  • spring.rabbitmq.listener.acknowledge-mode
    指定Acknowledge的模式.

  • spring.rabbitmq.listener.auto-startup
    是否在启动时就启动mq,默认: true)

  • spring.rabbitmq.listener.concurrency
    指定最小的消费者数量.

  • spring.rabbitmq.listener.max-concurrency
    指定最大的消费者数量.

  • spring.rabbitmq.listener.prefetch
    指定一个请求能处理多少个消息,如果有事务的话,必须大于等于transaction数量.

  • spring.rabbitmq.listener.transaction-size
    指定一个事务处理的消息数量,最好是小于等于prefetch的数量.

  • spring.rabbitmq.password
    指定broker的密码.

  • spring.rabbitmq.port
    指定RabbitMQ 的端口,默认: 5672)

  • spring.rabbitmq.requested-heartbeat
    指定心跳超时,0为不指定.

  • spring.rabbitmq.ssl.enabled
    是否开始SSL,默认: false)

  • spring.rabbitmq.ssl.key-store
    指定持有SSL certificate的key store的路径

  • spring.rabbitmq.ssl.key-store-password
    指定访问key store的密码.

  • spring.rabbitmq.ssl.trust-store
    指定持有SSL certificates的Trust store.

  • spring.rabbitmq.ssl.trust-store-password
    指定访问trust store的密码.

  • spring.rabbitmq.username
    指定登陆broker的用户名.

  • spring.rabbitmq.virtual-host
    指定连接到broker的Virtual host.

hornetq

  • spring.hornetq.embedded.cluster-password
    指定集群的密码,默认启动时随机生成.

  • spring.hornetq.embedded.data-directory
    指定Journal file 的目录. 如果不开启持久化则不必指定.

  • spring.hornetq.embedded.enabled
    是否开启内嵌模式,默认:true

  • spring.hornetq.embedded.persistent
    是否开启persistent store,默认: false

  • spring.hornetq.embedded.queues
    指定启动是创建的queue,多个以逗号分隔,默认: []

  • spring.hornetq.embedded.server-id
    指定Server ID. 默认使用自增数字,从0开始.

  • spring.hornetq.embedded.topics
    指定启动时创建的topic,多个以逗号分隔,默认: []

  • spring.hornetq.host
    指定HornetQ broker 的host,默认: localhost

  • spring.hornetq.mode
    指定HornetQ 的部署模式,默认是auto-detected,也可以指定native 或者 embedded.

  • spring.hornetq.port
    指定HornetQ broker 端口,默认: 5445

jms

    • spring.jms.jndi-name
      指定Connection factory JNDI 名称.

    • spring.jms.listener.acknowledge-mode
      指定ack模式,默认自动ack.

    • spring.jms.listener.auto-startup
      是否启动时自动启动jms,默认为: true

    • spring.jms.listener.concurrency
      指定最小的并发消费者数量.

    • spring.jms.listener.max-concurrency
      指定最大的并发消费者数量.

    • spring.jms.pub-sub-domain
      是否使用默认的destination type来支持 publish/subscribe,默认: false

SpringBoot配置属性之MQ的更多相关文章

  1. SpringBoot配置属性之Server

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  2. SpringBoot配置属性转载地址

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  3. SpringBoot配置属性之其他

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  4. SpringBoot配置属性之Migration

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  5. SpringBoot配置属性之Security

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  6. SpringBoot配置属性之NOSQL

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  7. SpringBoot配置属性之MVC

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  8. SpringBoot配置属性二

    server配置 server.address指定server绑定的地址 server.compression.enabled是否开启压缩,默认为false. server.compression.e ...

  9. SpringBoot配置属性之Server参数

    server配置server.address指定server绑定的地址 server.compression.enabled是否开启压缩,默认为false. server.compression.ex ...

随机推荐

  1. Centos6.4下安装mysql5.6.10

    今天下午捣腾安装mysql和apache.从网上下载mysql5.6.10,http://ishare.iask.sina.com.cn/f/36050990.html,解压后发现没有configur ...

  2. Spark:JavaRDD 转化为 Dataset<Row>的两种方案

    JavaRDD 转化为 Dataset<Row>方案一: 实体类作为schema定义规范,使用反射,实现JavaRDD转化为Dataset<Row> Student.java实 ...

  3. (转)【Unity Shaders】Vertex Magic —— 访问顶点颜色

    转自:http://blog.csdn.net/candycat1992/article/details/38147767 本系列主要参考<Unity Shaders and Effects C ...

  4. 理解linux sed命令

    理解linux sed命令(2010-02-27 18:21:20) 标签:linuxshellsed替换 分类:革命本钱 1. Sed简介sed是一种在线编辑器,它一次处理一行内容.处理时,把当 前 ...

  5. Skyline开发1-环境搭建

    三维一直很火热,它比二维的明显优势是立体效果,更接近真实的物理世界:凡是与三统有关的就叫XX模型,其实就是一种数据罢了:简单的浏览.展示 操作就看起来很炫,尤其是对外行的人来说.无论如何,领导.用户喜 ...

  6. springboot项目启动多个实例的方法

    我现在需要实现这样的功能:将一个服务提供者启动多个实例,下面我列出在eclipse中启动多个实例的方法: 首先看一下我的服务提供者的项目文件结构: springboot默认的配置文件是applicat ...

  7. 在Linux下如何限制命令执行的时间?

    在Linux下如何限制命令执行的时间?两种解决方法,如下: 1: Linux命令——timeout 运行指定的命令,如果在指定时间后仍在运行,则杀死该进程.用来控制程序运行的时间. 2: comman ...

  8. Sqlite和Mysql和SqlServer中insert … select … where not exist的用法

    下面介绍Mysql和Sqlite和Sqlserver中,根据select的条件判断是否插入.例如: 一.Mysql中: INSERT INTO books (name) SELECT 'SongXin ...

  9. Linux c —— opendir函数和readdir函数内涵及用法(转)

    opendir函数 头文件:#include <sys/types.h>  #include <dirent.h> 函数:DIR *opendir(const char *na ...

  10. java 读取clob

      java 读取clob CreationTime--2018年7月1日09点41分 Author:Marydon 1.说明 jdbc 数据类型为Clob,与java的String类型相对应. 2. ...