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 ...
随机推荐
- 自己定义View时,用到Paint Canvas的一些温故,简单的帧动画(动画一 ,"掏粪男孩Gif"顺便再提提onWindowFocusChanged)
转载请注明出处:王亟亟的大牛之路 之前在绘画的过程中提到了静态的旋转啊,缩放啊,平移等一些效果.那么自己定义的View当然也有动态的效果也就是我们的Animation.经常使用的有三种 View An ...
- ElasticSearch5.X—模糊查询和获取所有索引字段
最近在做一个分布式数据存储的项目,需要用到ElastciSearch加速数据查询,其中部分功能需要进行模糊查询和统计索引库中已经建立的索引字段,网上查阅了很多资料,最终把这两个问题解决了,不容易!下面 ...
- [Spring Boot] Introduce to Mockito
We have the implemetion: @SpringBootApplication public class MockitoDemoApplication { public static ...
- WIN10 64位系统 如何安装.NET Framwork3.5
把SXS文件夹复制到C盘根目录,然后以管理员身份运行CMD,大概2分钟能完成,然后这个SXS文件夹就可以删了
- Awk使用及站点日志分析
Awk使用及站点日志分析 Awk简单介绍 概述 awk是一个强大的文本分析工具,相对于grep的查找,sed的编辑,awk在其对数据分析并生成报告时,显得尤为强大.简单来说awk就是把文件逐行的读入, ...
- C#常用特性
1.服务器控件ID .NET服务器控件有三个ID,即:ID,ClientID和UniqueID ID为服务器控件的服务器标示,在服务器代码中通过ID来唯一区分服务器控件: ClientID是服务器控件 ...
- xampp 教程
xampp教程1 使用安装包进行安装 (目前有三种可供选择下载的XAMPP for Windows: 安装包 简单且安全:XAMPP 的便捷安装程序.) 使用安装包来安装XAMPP是最简单的方法. ...
- Percona-XtraBackup系列三:增量备份恢复
1:创建测试表和测试库如果需要快速建立测试表和库的话,参考之前写的这篇博客:http://www.cnblogs.com/xiaoit/p/3376685.html create database b ...
- uva 11346 - Probability(概率)
option=com_onlinejudge&Itemid=8&page=show_problem&problem=2321">题目链接:uva 11346 - ...
- 分分钟带你玩转 Web Services【1】JAX-WS
当大型需求被数个公司分割开来,各公司系统相互交换数据的问题就会接踵而来. 毕竟是多家不同的公司的产品,研发开发语言.采用技术框架基本上是百花齐放. 怎样让自家系统提供的服务具有跨平台.跨语言.跨各种防 ...