Browse Source

修改broker配置

chenyongxing 7 years ago
parent
commit
7f59346ada
1 changed files with 10 additions and 16 deletions
  1. 10 16
      hos-broker.yml

+ 10 - 16
hos-broker.yml

@ -1,13 +1,7 @@
spring:
  application:
    name: hos-broker
server:
  port: 8099
  contextPath:
  sessionTimeout:  300
security:
  basic:
    enabled: false
# the name of Camel
camel:
@ -19,7 +13,7 @@ camel:
spring:
  profiles: dev
  activemq:
    broker-url: tcp://172.19.103.57:61616
    broker-url: tcp://172.19.103.42:61616
    user: admin
    password: admin
  data:
@ -34,7 +28,7 @@ spring:
eureka:
  client:
    serviceUrl:
      defaultZone: http://192.168.1.221:8761/eureka/
      defaultZone: http://172.19.103.58:8761/eureka/
log:
  path: D://logs/logback/dev
@ -44,9 +38,9 @@ hos:
    url: http://172.19.103.57:9010/dfs/file
  arbiter:
    enable: true
    url: http://localhost:10135
    url: http://172.19.103.57:10135
  rest:
    url: http://localhost:8088
    url: http://172.19.103.57:8088
  timer:
      period: 10000
  tenant:
@ -61,7 +55,7 @@ hos:
    password: ceshi
hzy:
  hello: hello dev !!!
  
---
spring:
@ -72,7 +66,7 @@ spring:
      password: admin
  data:
    mongodb:
      host: 172.19.103.42 # mongodb 连接信息
      host: 172.19.103.57 # mongodb 连接信息
      port: 27017
      username: esb
      password: esb
@ -82,18 +76,18 @@ spring:
eureka:
  client:
    serviceUrl:
      defaultZone: http://192.168.1.221:8761/eureka/  # eureka发现服务中心地址
      defaultZone: http://172.19.103.58:8761/eureka/  # eureka发现服务中心地址
log:
  path: /usr/local/esb/logs/hos-broker  #日志输出地址
  level: info
hos:
  filesystem:
    url: http://172.19.103.37:9010/dfs/file #文件服务器地址
    url: http://172.19.103.57:9010/dfs/file #文件服务器地址
  arbiter:
    enable: true
    url: http://172.19.103.37:10135  # arbiter 的连接地址
    url: http://172.19.103.57:10135  # arbiter 的连接地址
  rest:
    url: http://172.19.103.37:8088  # 采集上传档案等服务连接地址
    url: http://172.19.103.57:8088  # 采集上传档案等服务连接地址
  timer:
      period: 10000
  tenant: