提交 054ea301 编写于 作者: zhouweidong's avatar zhouweidong

rocketMQ优化

上级 290aaab8
...@@ -53,11 +53,12 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression; ...@@ -53,11 +53,12 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
@ConditionalOnExpression("${r'${ibiz.rocketmq.producer.isOnOff:'+"'"+mqServer+"'"+"}.equals('on')"}") @ConditionalOnExpression("${r'${ibiz.rocketmq.producer.isOnOff:'+"'"+mqServer+"'"+"}.equals('on')"}")
public class RocketMQConfig { public class RocketMQConfig {
<#if hasMQProducer>
@Value("${r'${ibiz.rocketmq.producer.groupName:default}'}") @Value("${r'${ibiz.rocketmq.producer.groupName:default}'}")
private String groupName; private String groupName;
@Value("${r'${ibiz.rocketmq.producer.namesrvAddr:127.0.0.1:9876}'}") @Value("${r'${ibiz.rocketmq.producer.namesrvAddr:127.0.0.1:9876}'}")
private String namesrvAddr; private String namesrvAddr;
<#if hasMQProducer>
// 消息最大值 // 消息最大值
@Value("${r'${ibiz.rocketmq.producer.maxMessageSize:409600}'}") @Value("${r'${ibiz.rocketmq.producer.maxMessageSize:409600}'}")
private Integer maxMessageSize; private Integer maxMessageSize;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册