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. Javascript常用语法 (一)

    判断成员是否是一个函数: if (typeof options.sourceMapName === 'function') { mapNameGenerator = options.sourceMap ...

  2. Intellij idea断点 Debugger slow: Method breakpoints my dramatically slow down debugging

    不知道点到哪里了,IDEA调试特别卡,而且总是如下提示, Debugger slow: Method breakpoints my dramatically slow down debugging 意 ...

  3. [React] Write a stateful Component with the React useState Hook and TypeScript

    Here we refactor a React TypeScript class component to a function component with a useState hook and ...

  4. 【Python】将对象存成json文件及从json取出对象

    常用代码,单拎出来以备查. 对象存json文件: import json obj={'name':'张有财','age':39,'arr':[2,34,5,6,7,88,'李有钱']} with op ...

  5. C++ 多态的原理

    1.多态解决什么问题? 面向抽象编程,用户不需要关心引用或者指针的真实类型,已经内部实现.2.C++ 要具备多态的性质,满足两个条件:表面类型和真实类型不一样,方法是虚方法.3.多态是如何实现的? 实 ...

  6. IC卡制作常识概述

    ic卡主要有9种:    1.接触型IC卡:    2.非接触型IC卡:    3.串行传输型IC卡:    4.并行传输型IC卡:    5.存储型IC卡:    6.智能型IC卡:    7.超级 ...

  7. 使用jstl报http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar错误

    今天创建了一个maven项目,想使用jstl报http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the ...

  8. 如何在onCreate方法中获取视图的宽度和高度

    你可以通过视图的getWidth()和getHeight()来获取视图的宽度和高度. 但是,可能会让你失望的是,如果你直接在onCreate方法内调用这两个函数,你会的到0. 为什么呢? 这是因为,当 ...

  9. intel vt

    EPT和VPID技术是内存虚拟化技术, 是页表扩充技术Extended Page Table (EPT) 的缩写, 是VT-x技术的一部分. 内存虚拟化的主要任务是实现地址空间的虚拟化,内存虚拟化是通 ...

  10. spring Ioc 实践

    了解过IoC的概念,没有真正实践,感觉还是会比较模糊.自己的实践虽然简单,但还是记录下呀~ 1. 通过注解的方式注入service 1.1 controller中创建对象 @Controller @R ...