Authored by zhaoqing

砍价

@@ -12,7 +12,7 @@ import org.slf4j.LoggerFactory; @@ -12,7 +12,7 @@ import org.slf4j.LoggerFactory;
12 import org.springframework.beans.factory.annotation.Autowired; 12 import org.springframework.beans.factory.annotation.Autowired;
13 import org.springframework.stereotype.Service; 13 import org.springframework.stereotype.Service;
14 14
15 -@Service(value="collageActivityConsumer") 15 +@Service(value="cutDownPriceActivityConsumer")
16 public class CutDownPriceActivityConsumer implements YhConsumer { 16 public class CutDownPriceActivityConsumer implements YhConsumer {
17 private static final Logger LOGGER = LoggerFactory.getLogger(CutDownPriceActivityConsumer.class); 17 private static final Logger LOGGER = LoggerFactory.getLogger(CutDownPriceActivityConsumer.class);
18 18
@@ -17,7 +17,7 @@ import org.springframework.stereotype.Service; @@ -17,7 +17,7 @@ import org.springframework.stereotype.Service;
17 17
18 import java.util.List; 18 import java.util.List;
19 19
20 -@Service(value="collageProductConsumer") 20 +@Service(value="cutDownPriceProductConsumer")
21 public class CutDownPriceProductConsumer implements YhConsumer { 21 public class CutDownPriceProductConsumer implements YhConsumer {
22 private static final Logger LOGGER = LoggerFactory.getLogger(CutDownPriceProductConsumer.class); 22 private static final Logger LOGGER = LoggerFactory.getLogger(CutDownPriceProductConsumer.class);
23 23
1 consumer: 1 consumer:
2 - - address: ${rabbit_common}  
3 - username: ${rabbit_common_user}  
4 - password: ${rabbit_common_password} 2 + - address: 192.168.102.45:5672
  3 + username: yoho
  4 + password: yoho
5 consumers: 5 consumers:
6 - - class: com.yoho.product.syschronize.mq.consumer.CutDownPriceActivityConsumer 6 + - class: com.yoho.dsf.mqapi.consumer.CutDownPriceActivityConsumer
7 topic: platform.cutDownPrice.activity 7 topic: platform.cutDownPrice.activity
8 - - class: com.yoho.product.syschronize.mq.consumer.CutDownPriceProductConsumer 8 + - class: com.yoho.dsf.mqapi.consumer.CutDownPriceProductConsumer
9 topic: platform.cutDownPrice.product 9 topic: platform.cutDownPrice.product
10 10
11 11
12 producer: 12 producer:
13 - - address: ${rabbit_common}  
14 - username: ${rabbit_common_user}  
15 - password: ${rabbit_common_password} 13 + - address: 192.168.102.45:5672
  14 + username: yoho
  15 + password: yoho
16 producers: 16 producers:
17 - bean: producer1 17 - bean: producer1
@@ -3,9 +3,9 @@ consumer: @@ -3,9 +3,9 @@ consumer:
3 username: ${rabbit_common_user} 3 username: ${rabbit_common_user}
4 password: ${rabbit_common_password} 4 password: ${rabbit_common_password}
5 consumers: 5 consumers:
6 - - class: com.yoho.product.syschronize.mq.consumer.CutDownPriceActivityConsumer 6 + - class: com.yoho.dsf.mqapi.consumer.CutDownPriceActivityConsumer
7 topic: platform.cutDownPrice.activity 7 topic: platform.cutDownPrice.activity
8 - - class: com.yoho.product.syschronize.mq.consumer.CutDownPriceProductConsumer 8 + - class: com.yoho.dsf.mqapi.consumer.CutDownPriceProductConsumer
9 topic: platform.cutDownPrice.product 9 topic: platform.cutDownPrice.product
10 10
11 11