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 ...
随机推荐
- SharePoint CAML Query小结
CAML的结构. <View Type="HTML" Name="Summary"> <ViewBody ExpandXML="TR ...
- my.cnf配置文件参数解释
lower_case_table_names=1#去掉大小写敏感 [client] port = 3309 socket = /home/mysql/mysql/tmp/mysql.sock [mys ...
- Spring3自定义环境配置 <beans profile="">
Spring 3.1的功能,以后就不用为了区分Test, Dev, Production环境,搞几个只有细微区别的application.xml, application-test.xml及引用它们的 ...
- ReSharper修改命名风格
默认情况下,ReSharper会建议你全局变量命名使用下划线开头,且第一个字母小写.否则,会给你标记出来,如下: 但我个人不喜欢这种风格,一般使用首字母大写且不带下划线,可以通过配置来调整:ReSha ...
- 基于redis分布式缓存实现(新浪微博案例)转
第一:Redis 是什么? Redis是基于内存.可持久化的日志型.Key-Value数据库 高性能存储系统,并提供多种语言的API. 第二:出现背景 数据结构(Data Structure)需求越来 ...
- 【Ubuntu】Ubuntu bug “Reached target Shutdown”
在使用 Ubuntu-16.04.3-server-amd64.iso 版本(参考官方,iso下载地址)的时候,遇到一个Ubuntu的Bug,后来查了一下,在官方看到,目前还是Unassigned: ...
- 安装vmware-tools出错:Execution aborted!!!
环境:VMware10+RedHat5(安装时选择了虚拟化组件). 安装vmware-tools过程中出现如下所示错误: This configuration program is to be exe ...
- debian下配置网络 安装无线网卡驱动 Broadcom BCMXX系列
解决方案来自于debian官网 https://wiki.debian.org/wl 1.加入源 deb http://http.debian.net/debian/ wheezy main c ...
- SpringMVC+Spring+mybatis项目从零开始--Spring mybatis mysql配置实现
上一章我们把SSM项目结构已搭建(SSM框架web项目从零开始--分布式项目结构搭建)完毕,本章将实现Spring,mybatis,mysql等相关配置. 1. 外部架包依赖引入 外部依赖包引入 ...
- ReactNative踩坑日志——函数绑定this
ES6语法定义的函数没有自动绑定this,所以在函数中使用了 this.xxx 就会报错,因为没有把类实例等this传进函数中. 有两种方法绑定this: 法1:在构造函数中为其他函数绑定this c ...