spring: application: name: yideb-proxy-srv #druid数据源相关配置配置 datasource: url: jdbc:mysql://www.yidab.com:61002/yideb2-pre?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai username: yideb2pre password: yideb2pre1234YDB driver-class-name: com.mysql.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource #连接池的配置信息 initialSize: 5 #连接池初始化大小 minIdle: 5 #最小空闲连接数 maxActive: 20 #最大连接数 maxWait: 60000 #获取连接等待超时时间 timeBetweenEvictionRunsMillis: 60000 #间隔多久进行一次检测,检测需要关闭的空闲连接 minEvictableIdleTimeMillis: 300000 validationQuery: SELECT 1 FROM DUAL testWhileIdle: true testOnBorrow: false testOnReturn: false poolPreparedStatements: true # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙 filters: stat,wall maxPoolPreparedStatementPerConnectionSize: 20 useGlobalDataSourceStat: true connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500 #redis配置数据 # redis: # hostName: 192.168.140.131 # hostName: 47.104.236.202 # port: 6379 # password: 123456 # 连接超时时间 # timeout: 5000 # jedis: # pool: # 最大连接数(使用负值表示没有限制) # max-active: 10 # 连接池最大阻塞等待时间(使用负值表示没有限制) # max-wait: -1 # 连接池中最大空闲连接(使用负值表示没有限制) # max-idle: 2 # 连接池中最小空闲连接 # min-idle: 0 # 下面为连接池的补充设置,应用到上面所有数据源中 # 初始化大小,最小,最大 rabbitmq: host: 47.95.29.209 port: 5672 username: admin password: myzhrabbit1234YDB listener: simple: #并发消费者的初始化值 concurrency: 10 #并发消费者的最大值 max-concurrency: 20 #每个消费者每次监听时可拉取处理的消息数量 prefetch: 5 #必须配置这个才会确认回调 publisher-confirm-type: correlated # publisher-confirms: true publisher-returns: true #mybatis 配置信息 mybatis: mapperLocations: classpath:/mapper/*.xml configLocation: classpath:mybatis/mybatis-config.xml server: port: 18099 scheduling: limit: 100 postApi: pageSize: 2000 storeUrl: http://15.72.176.14/mhis-pisp/api/pis/inventory-balance/upload sorageUrl: http://15.72.176.14/mhis-pisp/api/pis/storagein-records/upload returnUrl: http://15.72.176.14/mhis-pisp/api/pis/storageout-records/upload orderDetailUrl: http://15.72.176.14/mhis-pisp/api/pis/order-details/upload