springboot整合ssm配置文件application.yml

spring:
  thymeleaf:
    cache: false
    check-template-location: true
    check-template: true
    content-type: text/html; charset=utf-8
    enabled: true
    encoding: UTF-8
    prefix: classpath:/templates/
    suffix: .html
  mvc:
    media-types:
      '*': text/html;application/json;multipart/form-data;
    static-path-pattern: /**
#    view:
#      prefix: templates/ 
#      suffix: .html
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/jdbcdemo?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
    username: root
    password: root
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.jdbc.Driver
    filters: stat
    maxActive: 20
    initialSize: 1
    maxWait: 60000
    minIdle: 1
    timeBetweenEvictionRunsMillis: 60000
    minEvictableIdleTimeMillis: 300000
    validationQuery: select 'x'
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    poolPreparedStatements: true
    maxOpenPreparedStatements: 20
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
  activemq:
    broker-url: tcp://192.168.229.110:61616
    user: admin
    password: admin
    pool:
       enable: true
       max-connections: 10
    packages: 
       trust-all: true
  jms:
     pub-sub-domain: true
server:
  port: '8080'
  jsp-servlet:
    init-parameters:
      development: true
  session:
    timeout: 6000
mybatis:
  mapper-locations: classpath:/mapping/*.xml
  type-aliases-package: com.tenDay.*
pagehelper:
  helperDialect: mysql
  reasonable: true
  supportMethodsArguments: true
  params: count=countSql
logging:
  level:
    '*': DEBUG
    com.tenDay.mapper: debug
#    org:
#    activiti: DEBUG
  pattern:
    level: DEBUG
    console: '%-4relative [%thread] %-5level %logger{256} - %msg%n'

你可能感兴趣的:(springboot)