123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- camel:
- springboot:
- main-run-controller: true
- spring:
- ## 数据库配置
- datasource:
- ds1:
- ## Hikari连接池的设置 Hikari 时间单位都是毫秒
- type: com.zaxxer.hikari.HikariDataSource
- jdbc-url: jdbc:postgresql://10.72.143.2:54321/database
- username: root
- password: 123456
- driver-class-name: org.postgresql.Driver
- hikari:
- ## 连接池名字
- pool-name: SystemHikariCP
- ## 最小空闲连接数量
- minimum-idle: 5
- ## 空闲连接存活最大时间,默认600000(10分钟)
- idle-timeout: 60000
- ## 连接池最大连接数,默认是10
- maximum-pool-size: 15
- ## 此属性控制从池返回的连接的默认自动提交行为,默认值:true
- auto-commit: true
- ## 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
- max-lifetime: 1800000
- ## 数据库连接超时时间,默认30秒,即30000
- connection-timeout: 30000
- ds2:
- ## Hikari连接池的设置 Hikari 时间单位都是毫秒
- type: com.zaxxer.hikari.HikariDataSource
- jdbc-url: jdbc:postgresql://10.72.143.2:54321/diagnosis
- username: root
- password: 123456
- driver-class-name: org.postgresql.Driver
- hikari:
- ## 连接池名字
- pool-name: SystemHikariCP
- ## 最小空闲连接数量
- minimum-idle: 5
- ## 空闲连接存活最大时间,默认600000(10分钟)
- idle-timeout: 60000
- ## 连接池最大连接数,默认是10
- maximum-pool-size: 15
- ## 此属性控制从池返回的连接的默认自动提交行为,默认值:true
- auto-commit: true
- ## 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
- max-lifetime: 1800000
- ## 数据库连接超时时间,默认30秒,即30000
- connection-timeout: 30000
- ds3:
- ## Hikari连接池的设置 Hikari 时间单位都是毫秒
- type: com.zaxxer.hikari.HikariDataSource
- jdbc-url: jdbc:oracle:thin:@10.72.181.234:1521:orcl
- username: dhzdly
- password: gctgct#831511
- driver-class-name: oracle.jdbc.driver.OracleDriver
- hikari:
- ## 连接池名字
- pool-name: SystemHikariCP
- ## 最小空闲连接数量
- minimum-idle: 5
- ## 空闲连接存活最大时间,默认600000(10分钟)
- idle-timeout: 60000
- ## 连接池最大连接数,默认是10
- maximum-pool-size: 15
- ## 此属性控制从池返回的连接的默认自动提交行为,默认值:true
- auto-commit: true
- ## 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
- max-lifetime: 1800000
- ## 数据库连接超时时间,默认30秒,即30000
- connection-timeout: 30000
- # ds4:
- # ## Hikari连接池的设置 Hikari 时间单位都是毫秒
- # type: com.zaxxer.hikari.HikariDataSource
- # jdbc-url: jdbc:postgresql://11.72.187.11:5432/GTDATE
- # username: postgres
- # password: Postgres_2021#
- # driver-class-name: org.postgresql.Driver
- # hikari:
- # ## 连接池名字
- # pool-name: SystemHikariCP
- # ## 最小空闲连接数量
- # minimum-idle: 5
- # ## 空闲连接存活最大时间,默认600000(10分钟)
- # idle-timeout: 60000
- # ## 连接池最大连接数,默认是10
- # maximum-pool-size: 15
- # ## 此属性控制从池返回的连接的默认自动提交行为,默认值:true
- # auto-commit: true
- # ## 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
- # max-lifetime: 1800000
- # ## 数据库连接超时时间,默认30秒,即30000
- # connection-timeout: 30000
- management:
- info:
- camel:
- enabled: true
- endpoint:
- camelroutes:
- read-only: false
- enabled: true
- camelroutecontroller:
- enabled: true
- #Actuator for camel was not supported at camel version > 3.4
- endpoints:
- web:
- exposure:
- include: health, info,camelroutes , camelroutecontroller
- cors:
- allow-credentials: off
- server:
- port: 8080
- rocketmq:
- #rocketmq的路由调度器的地址
- name-server: 10.72.143.2:9876
- producer:
- # 消息分组
- group: aoid
- # 超时时间
- sendMessageTimeout: 300000
- access-key: 123456
- secret-key: 123456
- logging:
- file:
- path: /home/gxt/IdeaProjects/etl-camel-huge/logs
- max-history: 30
- max-size: 10
- name: log
|