SpringBoot配置属性之其他
2017-06-01 14:26
381 查看
aop
spring.aop.auto是否支持@EnableAspectJAutoProxy,默认为: truespring.aop.proxy-target-classtrue为使用CGLIB代理,false为JDK代理,默认为false
application
spring.application.admin.enabled是否启用admin特性,默认为: falsespring.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表,默认为truespring.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-8spring.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.
4000
spring.sendgrid.proxy.port指定SendGrid proxy port.
spring.sendgrid.username指定SendGrid username.
social
spring.social.auto-connection-views是否开启连接状态的视图,默认为falsespring.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配置属性之其他(八)
- SpringBoot配置属性之其他
- SpringBoot配置属性之其他
- SpringBoot配置属性之其他
- Spring Boot属性配置文件详解
- Spring Boot 属性配置和使用
- SpringBoot配置属性之MQ
- Spring Boot 属性配置和使用
- Spring Boot学习笔记-项目属性的简单配置
- SpringBoot配置属性之DataSource
- SpringBoot配置属性之DataSource
- SpringBoot配置属性系列
- Spring Boot application.propertis配置文件的相关通用属性
- spring-boot配置文件-其他(中文翻译)
- Spring Boot属性配置文件详解
- SpringBoot配置属性之Migration
- 51. spring boot属性文件之多环境配置【从零开始学Spring Boot】
- Spring Boot属性配置文件
- Spring Boot属性配置文件详解
- Spring boot将配置属性注入到bean 专题