Browse Source

修改消费者启动方式

sadd 6 years ago
parent
commit
cffef3661a
1 changed files with 9 additions and 2 deletions
  1. 9 2
      src/main/resources/application.properties

+ 9 - 2
src/main/resources/application.properties

@@ -1,6 +1,6 @@
 spring.http.encoding.charset=UTF-8
 spring.http.encoding.enabled=true
-server.port=31009
+server.port=31008
 #server.port=0
 #eureka.instance.instance-id=${spring.application.name}:${random.int}
 #eureka.instance.prefer-ip-address=true
@@ -46,7 +46,14 @@ mqAdress=tcp://120.78.160.252:61616
 #是否发送查询key
 isStartSendMq = false
 #是否开启查询消费者
-isStartMqListenter = true
+isStartMqListenter = false
+
+#是否开启查询价格
+isSartSearchPriceMQ = true
+priceMqNum = 10
+priceMQName=pricemq
+
+sendPriceMq = true