application-szq.yml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. spring:
  2. application:
  3. name: yideb-proxy-srv
  4. #druid数据源相关配置配置
  5. datasource:
  6. url: jdbc:mysql://www.yidab.com:61002/yideb2-pre?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
  7. username: yideb2pre
  8. password: yideb2pre1234YDB
  9. driver-class-name: com.mysql.jdbc.Driver
  10. type: com.alibaba.druid.pool.DruidDataSource
  11. #连接池的配置信息
  12. initialSize: 5 #连接池初始化大小
  13. minIdle: 5 #最小空闲连接数
  14. maxActive: 20 #最大连接数
  15. maxWait: 60000 #获取连接等待超时时间
  16. timeBetweenEvictionRunsMillis: 60000 #间隔多久进行一次检测,检测需要关闭的空闲连接
  17. minEvictableIdleTimeMillis: 300000
  18. validationQuery: SELECT 1 FROM DUAL
  19. testWhileIdle: true
  20. testOnBorrow: false
  21. testOnReturn: false
  22. poolPreparedStatements: true
  23. # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
  24. filters: stat,wall
  25. maxPoolPreparedStatementPerConnectionSize: 20
  26. useGlobalDataSourceStat: true
  27. connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
  28. #redis配置数据
  29. # redis:
  30. # hostName: 192.168.140.131
  31. # hostName: 47.104.236.202
  32. # port: 6379
  33. # password: 123456
  34. # 连接超时时间
  35. # timeout: 5000
  36. # jedis:
  37. # pool:
  38. # 最大连接数(使用负值表示没有限制)
  39. # max-active: 10
  40. # 连接池最大阻塞等待时间(使用负值表示没有限制)
  41. # max-wait: -1
  42. # 连接池中最大空闲连接(使用负值表示没有限制)
  43. # max-idle: 2
  44. # 连接池中最小空闲连接
  45. # min-idle: 0
  46. # 下面为连接池的补充设置,应用到上面所有数据源中
  47. # 初始化大小,最小,最大
  48. rabbitmq:
  49. host: 47.95.29.209
  50. port: 5672
  51. username: admin
  52. password: myzhrabbit1234YDB
  53. listener:
  54. simple:
  55. #并发消费者的初始化值
  56. concurrency: 10
  57. #并发消费者的最大值
  58. max-concurrency: 20
  59. #每个消费者每次监听时可拉取处理的消息数量
  60. prefetch: 5
  61. #必须配置这个才会确认回调
  62. publisher-confirm-type: correlated
  63. # publisher-confirms: true
  64. publisher-returns: true
  65. #mybatis 配置信息
  66. mybatis:
  67. mapperLocations: classpath:/mapper/*.xml
  68. configLocation: classpath:mybatis/mybatis-config.xml
  69. server:
  70. port: 18099
  71. scheduling:
  72. limit: 100
  73. postApi:
  74. pageSize: 2000
  75. storeUrl: http://15.72.176.14/mhis-pisp/api/pis/inventory-balance/upload
  76. sorageUrl: http://15.72.176.14/mhis-pisp/api/pis/storagein-records/upload
  77. returnUrl: http://15.72.176.14/mhis-pisp/api/pis/storageout-records/upload
  78. orderDetailUrl: http://15.72.176.14/mhis-pisp/api/pis/order-details/upload