SpringBoot配置属性系列

另外附上个人关于springboot的一些文章

aop

  • spring.aop.auto
    是否支持@EnableAspectJAutoProxy,默认为: true

  • spring.aop.proxy-target-class
    true为使用CGLIB代理,false为JDK代理,默认为false

application

  • spring.application.admin.enabled
    是否启用admin特性,默认为: false

  • spring.application.admin.jmx-name
    指定admin MBean的名称,默认为: org.springframework.boot:type=Admin,name=SpringApplication

autoconfig

  • spring.autoconfigure.exclude
    配置要排除的Auto-configuration classes.

batch

  • spring.batch.initializer.enabled
    是否在必要时创建batch表,默认为true

  • spring.batch.job.enabled
    是否在启动时开启batch job,默认为true

  • spring.batch.job.names
    指定启动时要执行的job的名称,逗号分隔,默认所有job都会被执行

  • spring.batch.schema
    指定要初始化的sql语句路径,默认:classpath:org/springframework/batch/core/schema-@@platform@@.sql)

  • spring.batch.table-prefix
    指定批量处理的表的前缀.

jmx

  • spring.jmx.default-domain
    指定JMX domain name.

  • spring.jmx.enabled
    是否暴露jmx,默认为true

  • spring.jmx.server
    指定MBeanServer bean name. 默认为: mbeanServer)

mail

  • spring.mail.default-encoding
    指定默认MimeMessage的编码,默认为: UTF-8

  • spring.mail.host
    指定SMTP server host.

  • spring.mail.jndi-name
    指定mail的jndi名称

  • spring.mail.password
    指定SMTP server登陆密码.

  • spring.mail.port
    指定SMTP server port.

  • spring.mail.properties
    指定JavaMail session属性.

  • spring.mail.protocol
    指定SMTP server使用的协议,默认为: smtp

  • spring.mail.test-connection
    指定是否在启动时测试邮件服务器连接,默认为false

  • spring.mail.username
    指定SMTP server的用户名.

sendgrid

  • spring.sendgrid.password
    指定SendGrid password.

  • spring.sendgrid.proxy.host
    指定SendGrid proxy host.

  • spring.sendgrid.proxy.port
    指定SendGrid proxy port.

  • spring.sendgrid.username
    指定SendGrid username.

social

    • spring.social.auto-connection-views
      是否开启连接状态的视图,默认为false

    • spring.social.facebook.app-id
      指定应用id

    • spring.social.facebook.app-secret
      指定应用密码

    • spring.social.linkedin.app-id
      指定应用id

    • spring.social.linkedin.app-secret
      指定应用密码

    • spring.social.twitter.app-id
      指定应用ID.

    • spring.social.twitter.app-secret
      指定应用密码

SpringBoot配置属性之其他的更多相关文章

  1. SpringBoot配置属性之Server

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  2. SpringBoot配置属性转载地址

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  3. SpringBoot配置属性之Migration

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  4. SpringBoot配置属性之Security

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  5. SpringBoot配置属性之MQ

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  6. SpringBoot配置属性之NOSQL

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  7. SpringBoot配置属性之MVC

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  8. SpringBoot配置属性二

    server配置 server.address指定server绑定的地址 server.compression.enabled是否开启压缩,默认为false. server.compression.e ...

  9. SpringBoot配置属性之Server参数

    server配置server.address指定server绑定的地址 server.compression.enabled是否开启压缩,默认为false. server.compression.ex ...

随机推荐

  1. python 导出mongoDB数据中的数据

    import pymongo,urllibimport sysimport timeimport datetimereload(sys)sys.setdefaultencoding('utf8')fr ...

  2. centos下mysql自动备份

    #!/bin/bashdb_user="root"db_passwd="123456"db_name="test_db"#进入备份目录将之前 ...

  3. Python小任务 - 如何编写指定时间执行的Python小程序

    我们在平时的工作中经常会遇到这样的需求,需要再某个时间点执行一段程序逻辑. 那么,在python中我们是怎么做的呢? 下面看代码: waitDesignatedTimeToRun.py import ...

  4. 默认的Sublime 3中没有Package Control

    https://packagecontrol.io/installation#st3 (官方) 原来Subl3安装Package Control很麻烦,现在简单的方法来了 一.简单的安装方法 使用Ct ...

  5. 对Bootloader(引导加载程序)的几点理解

    1.在加电复位之后,大多数处理器都会从一个默认的地址处获取代码.比如MIPS结构的CPU会从0xBFC00000处取第一条指令,而ARM结构的CPU则从地址0x00000000处取第一条指令.因此,在 ...

  6. zip 文件下载函数封装

    代码: export default { /** * 下载文件 */ exportFile: (fileUrl) => { if (fileUrl) { let exportFrame = do ...

  7. unique-paths I &II 路径数,动态规划

    A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The ...

  8. H5移动端JS操作LocalStorage方法

    LocalStorage和SessionStorage LocalStorage 是对Cookie的优化 没有时间限制的数据存储 在隐私模式下不可读取 大小限制在500万字符左右,各个浏览器不一致 在 ...

  9. 〖Network〗宿舍配置两路由器,同时访问校园内网和校园外网

    环境: 校园宿舍, 10.x.x.x 和 172.16.x.x~172.31.x.x是校园内网,本科教务系统什么的都在上边 路由器: 路由器1(校园内网):水星MR807 路由器2(拨号上网):TP ...

  10. codevs 2185 最长公共上升子序列

    题目链接: codevs 2185 最长公共上升子序列codevs 1408 最长公共子序列 题目描述 Description熊大妈的奶牛在小沐沐的熏陶下开始研究信息题目.小沐沐先让奶牛研究了最长上升 ...