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 ...
随机推荐
- thinkcmf 角色授权支持分类
ThinkCMF中的权限是以后台菜单为基础来进行设置的(menu table),即如果你需要一个自定义的权限,那么你需要在后台菜单里添加一项菜单,然后在角色管理里可以针对角色进行授权 而现在遇到一 ...
- python 导出mongoDB数据中的数据
import pymongo,urllibimport sysimport timeimport datetimereload(sys)sys.setdefaultencoding('utf8')fr ...
- centos下mysql自动备份
#!/bin/bashdb_user="root"db_passwd="123456"db_name="test_db"#进入备份目录将之前 ...
- Android Device Monitor工具的使用
在最新的Android Studio3.x版本中,已经去掉了Android Device Monitor工具,但是不代表Android Device Monitor工具就不能用了,找到sdk的目录: ...
- 使用jsp内置对象request获取表单提交中文内容乱码的解决办法
page1.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pag ...
- iOS 两个应用之间的切换
A 跳到B NSURL *urlT = [NSURL URLWithString:@"TestB://XXXXXXX"]; //注意“://”后面可以任意传参数.这些参数传过去后当 ...
- 从n个数中随机选取m个
咋一看,这是个很简单的问题,但是如果n是个不确定的数呢?比如服务器每天会收到数以亿计的请求,但是目前服务器端不希望保存所有的请求,只想随机保存这些请求中的m个.试设计一种算法,能够使服务器实时保存m个 ...
- 第九周(1) Word邮件合并2
第九周(1) Word邮件合并2 教学时间 2013-4-22 教学课时 2 教案序号 15 教学目标 1.进一步掌握邮件合并的技巧和方法.2.利用邮件合并制作准考证.3.掌握在同一页生成多个记录的方 ...
- Netcore使用MailKit进行邮件发送
public void TestSendMailDemo() { var message = new MimeKit.MimeMessage(); message.From.Add(new MimeK ...
- AfterAddJS
protected override string AfterAddJS() { return CanDoo.FineUI.Utility.AfterSaveJS_ReloadData(EntityI ...