提交 290aaab8 编写于 作者: zhouweidong's avatar zhouweidong

rocketMQ优化

上级 309a3d2c
......@@ -50,7 +50,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
@Slf4j
@Configuration
@ConditionalOnExpression("${r'${ibiz.rocketmq.producer.isOnOff:\''+mqServer+'\'}.equals(\'on\')}'}
@ConditionalOnExpression("${r'${ibiz.rocketmq.producer.isOnOff:'+"'"+mqServer+"'"+"}.equals('on')"}")
public class RocketMQConfig {
<#if hasMQProducer>
......
......@@ -49,7 +49,7 @@ import java.util.List;
*/
@Slf4j
@Component
@ConditionalOnExpression("${r'${ibiz.rocketmq.producer.isOnOff:\''+mqServer+'\'}.equals(\'on\')}'}
@ConditionalOnExpression("${r'${ibiz.rocketmq.producer.isOnOff:'+"'"+mqServer+"'"+"}.equals('on')"}")
public class RocketMQListenerProcessor implements MessageListenerOrderly {
<#list sys.getAllPSDataEntities() as dataEntity>
......
......@@ -61,7 +61,7 @@ import java.util.List;
@Slf4j
@Aspect
@Component
@ConditionalOnExpression("${r'${ibiz.rocketmq.producer.isOnOff:\''+mqServer+'\'}.equals(\'on\')}'}
@ConditionalOnExpression("${r'${ibiz.rocketmq.producer.isOnOff:'+"'"+mqServer+"'"+"}.equals('on')"}")
public class RocketMQAspect
{
private final ExpressionParser parser = new SpelExpressionParser();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册