SpringBoot配置属性之MQ
SpringBoot配置属性系列
另外附上个人关于springboot的一些文章
activemq
spring.activemq.broker-url
指定ActiveMQ broker的URL,默认自动生成.spring.activemq.in-memory
是否是内存模式,默认为true.spring.activemq.password
指定broker的密码.spring.activemq.pooled
是否创建PooledConnectionFactory,而非ConnectionFactory,默认falsespring.activemq.user
指定broker的用户.
artemis(HornetQ捐献给apache后的版本
)
spring.artemis.embedded.cluster-password
指定集群的密码,默认是启动时随机生成.spring.artemis.embedded.data-directory
指定Journal文件的目录.如果不开始持久化则不必要指定.spring.artemis.embedded.enabled
是否开启内嵌模式,默认truespring.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. 默认: localhostspring.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
是否开启内嵌模式,默认:truespring.hornetq.embedded.persistent
是否开启persistent store,默认: falsespring.hornetq.embedded.queues
指定启动是创建的queue,多个以逗号分隔,默认: []spring.hornetq.embedded.server-id
指定Server ID. 默认使用自增数字,从0开始.spring.hornetq.embedded.topics
指定启动时创建的topic,多个以逗号分隔,默认: []spring.hornetq.host
指定HornetQ broker 的host,默认: localhostspring.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,默认为: truespring.jms.listener.concurrency
指定最小的并发消费者数量.spring.jms.listener.max-concurrency
指定最大的并发消费者数量.spring.jms.pub-sub-domain
是否使用默认的destination type来支持 publish/subscribe,默认: false
SpringBoot配置属性之MQ的更多相关文章
- SpringBoot配置属性之Server
SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...
- SpringBoot配置属性转载地址
SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...
- SpringBoot配置属性之其他
SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...
- SpringBoot配置属性之Migration
SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...
- SpringBoot配置属性之Security
SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...
- SpringBoot配置属性之NOSQL
SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...
- SpringBoot配置属性之MVC
SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...
- SpringBoot配置属性二
server配置 server.address指定server绑定的地址 server.compression.enabled是否开启压缩,默认为false. server.compression.e ...
- SpringBoot配置属性之Server参数
server配置server.address指定server绑定的地址 server.compression.enabled是否开启压缩,默认为false. server.compression.ex ...
随机推荐
- 四轴自适应控制算法的一些尝试开源我的山猫飞控和梯度在线辨识自适应等算法—(转)
本文的最主要目的在于抛砖引玉,阿莫论坛真的是非常好的一个论坛,没有这个论坛,没有那么多这个论坛上的前人无私的奉献和热烈的讨论,我想我是怎么也无法入门四轴的控制的.只是论坛上已经很多年都没有看到过新东西 ...
- 关于ThinkPHP的一些编程技巧
在TP学习过程中难免会遇到一些大大小小的问题,把这些问题积累下来就可以在以后遇到时能很快速的解决,提高编程效率. 1.让Runtime下的文件格式化:入口文件处:define(‘STRIP_RUNTI ...
- 面试小结之Elasticsearch篇
https://www.cnblogs.com/luckcs/articles/7052932.html
- MyBatis - (一) 基本数据操作命令和简单映射
1. 简单的select映射 <mapper namespace="com.mybatis3.mappers.StudentMapper"> <select id ...
- Java 之 POI各Jar包作用
目前POI的最新版本是 3.16-beta2,该版本是测试版本,稳定版本是 3.15,下载地址为 Apache POI (http://poi.apache.org/download.html). 一 ...
- MDX Step by Step 读书笔记(九) - Working with Time 处理时间
开篇介绍 这一章节主要用到的 MDX 函数: PeriodsToDate( [Level , [Member]] ) - 从指定级别的范围内,返回与指定成员同一级别,从第一个期间开始到指定成员结束的期 ...
- winf
真的,先亮注册码!!(直接复制即可) 注册码: <第1组> 用户名:大眼仔~旭(Anan) 注册码:01000000007002140V <第2组> 用户名:大眼仔~旭(Ana ...
- linux CPU占用率高(转)
来自:http://www.cnitblog.com/houcy/archive/2012/11/28/86801.html 1.用top命令查看哪个进程占用CPU高 gateway网关进程14094 ...
- ViewRoot,DecorView,MeasureSpec和View的工作原理——Android开发艺术探索笔记
原文链接 http://sparkyuan.me/ 转载请注明出处 View的绘制流程是从ViewRoot的performTraversals方法開始的.它经过measure.layout和draw三 ...
- Java 基础【14】@注解
1.注解简介 JDK 1.5 中引入的 java.lang.annotation 包提供注解编程支持,可以让类在编译.类加载.运行时被读取,并执行相应的处理. 在 Java EE应用的时候,总是免不了 ...