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 ...
随机推荐
- PHP文件操作[总结]
1.前言 工作中涉及到数据处理,后台需要用到PHP处理数据,之前没有接触过PHP,借此机会了解了一下PHP,PHP很方便,很灵活,编码很舒服,很喜欢用PHP处理后台数据.今天总结一下php文件操作,主 ...
- URL重写2.1.mis
概观 IIS URL重写2.1使Web管理员能够创建强大的规则来实现更容易让用户记住的网址,并使搜索引擎更容易找到.通过使用规则模板,重写映射,.NET提供程序和集成到IIS管理器中的其他功能,Web ...
- Vim的行号、语法显示等设置(.vimrc文件的配置)以及乱码解决
在终端下使用vim进行编辑时,默认情况下,编辑的界面上是没有显示行号.语法高亮度显示.智能缩进 等功能的.为了更好的在vim下进行工作,需要手动设置一个配置文件:.vimrc.在启动vim时,当前用户 ...
- mysql存储过程,游标实例
CREATE DEFINER=`root`@`%` PROCEDURE `vir`.`task_payment_byonlinedown`()begin declare _mobile varchar ...
- windows下根据进程ID强制杀死进程
[windows 进程ID PID]NTSD命令详解 1. ntsd -c q -p PID 2. ntsd -c q -pn ImageName 比如:ntsd -c q -pn qq.exe -c ...
- Office办公 SVG的图片文件如何保存为PNG
用浏览器打开,然后右击图片另存为PNG 再用PS打开可以看到就是没有背景的PNG图片了
- Angularjs 中的 controller
接触过程序开发的小伙伴们对 MVC 的开发方式想必一点也不陌生,是的, angularjs 所採用的方式便是 MVVM 的开发方式,这里的 controller 即控制器 了解 controller ...
- hdu 1728 逃离迷宫 bfs记转向
题链:http://acm.hdu.edu.cn/showproblem.php?pid=1728 逃离迷宫 Time Limit: 1000/1000 MS (Java/Others) Mem ...
- android中Snackbar(Design Support)的使用
Snackbar是Android Design Support Library中的一个组件,想使用Snackbar,必须先引入Design Support,我这里引入的是当前的最新版本: implem ...
- sublime text执行PHP代码
新建编译系统 { "cmd": ["php", "$file"], "file_regex": "php$&q ...