xiongzhu пре 4 година
родитељ
комит
a63cc0b445
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/java/com/izouma/nineth/listener/OrderNotifyListener.java

+ 1 - 1
src/main/java/com/izouma/nineth/listener/OrderNotifyListener.java

@@ -21,7 +21,7 @@ import org.springframework.stereotype.Service;
         consumerGroup = "${general.order-notify-group}",
         topic = "${general.order-notify-topic}",
         consumeMode = ConsumeMode.CONCURRENTLY, consumeThreadMax = 2)
-@ConditionalOnProperty(value = "general.notify-server", havingValue = "true", matchIfMissing = true)
+@ConditionalOnProperty(value = "general.notify-server", havingValue = "true")
 public class OrderNotifyListener implements RocketMQListener<OrderNotifyEvent> {
     private OrderService       orderService;
     private MintOrderService   mintOrderService;