techhero-coordination-command-natived.yml 1.63 KB
Newer Older
Administrator committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
spring:
  redis:
    database: 10
    host: 119.96.87.17
    port: 6379
    password: techhero
    timeout: 5000
    pool:
      max-active: 8
      max-wait: -1
      max-idle: 8
      min-idle: 0
  datasource:
    druid:
      stat-view-servlet:
        loginUsername: root
        loginPassword: root
      initial-size: 1
      max-active: 20
      min-idle: 3
      max-wait: 60000
      time-between-eviction-runs-millis: 60000
      validation-query: select 1 from dual
      filters: stat,slf4j
    dynamic:
26
      primary: command
Administrator committed
27
      datasource:
28 29 30 31
        command:
          url: jdbc:oracle:thin:@119.96.87.17:30100:orcl
          username: emergencycommand_prod
          password: Y29tbWFuZF9wcm9k
Administrator committed
32
          driver-class-name: oracle.jdbc.OracleDriver
33 34
        basic:
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
35 36
          username: COMMAND_DEV
          password: Y29tbWFuZF9kZXY=
37 38
          driver-class-name: oracle.jdbc.OracleDriver

Administrator committed
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
    
  rabbitmq:
    host: dev-env
    port: 5672
    username: techhero
    password: techhero
    virtual-host: /framework
    listener:
      simple:
        acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
    
    # 交换机
    exchanges:
      - name: basic.person.update.exchange
        type: topic
    # 队列
    queues:
      - name: basic.person.update.queue
        routing-key: basic.person.update.key
        exchange-name: basic.person.update.exchange