提交 67e5fa82 编写于 作者: zhouweidong's avatar zhouweidong

消息配置

上级 fbdaf71d
......@@ -48,13 +48,13 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
@ConditionalOnExpression("${r'${rocketmq.consumer.isOnOff:'+"'"+mqServer+"'"+"}.equals('on')"}")
public class RocketMQConsumer {
@Value("${r'${rocketmq.producer.groupName:default}'}")
@Value("${r'${rocketmq.consumer.groupName:default}'}")
private String groupName;
@Value("${r'${rocketmq.topic:default}'}")
@Value("${r'${rocketmq.consumer.topic:default}'}")
private String topic;
@Value("${r'${rocketmq.producer.namesrvAddr:127.0.0.1:9876}'}")
@Value("${r'${rocketmq.consumer.namesrvAddr:127.0.0.1:9876}'}")
private String namesrvAddr;
@Value("${r'${rocketmq.consumer.consumeThreadMin:1}'}")
......
......@@ -70,7 +70,7 @@ public class RocketMQAspect
@Lazy
DefaultMQProducer defaultMQProducer;
@Value("${r'${rocketmq.topic:default}'}")
@Value("${r'${rocketmq.producer.topic:default}'}")
private String topic;
<#list sys.getAllPSDataEntities() as dataEntity>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册