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

消息配置

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