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

消息配置

上级 26ed4984
...@@ -19,8 +19,8 @@ TARGET=PSSYSTEM ...@@ -19,8 +19,8 @@ TARGET=PSSYSTEM
<#if sys.getAllPSDevSlnMSDepAPIs()??> <#if sys.getAllPSDevSlnMSDepAPIs()??>
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi> <#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if depSysApi.getPSDCMSPlatform()?? > <#if depSysApi.getPSDCMSPlatform()?? >
<#if depSysApi.getUserParam("ibiz.rocketmq.consumer.namesrvAddr","")??> <#if depSysApi.getUserParam("rocketmq.consumer.namesrvAddr","")??>
<#assign mqServerAddress = depSysApi.getUserParam("ibiz.rocketmq.consumer.namesrvAddr","")> <#assign mqServerAddress = depSysApi.getUserParam("rocketmq.consumer.namesrvAddr","")>
</#if> </#if>
</#if> </#if>
</#list> </#list>
......
...@@ -18,8 +18,8 @@ TARGET=PSSYSTEM ...@@ -18,8 +18,8 @@ TARGET=PSSYSTEM
<#if sys.getAllPSDevSlnMSDepAPIs()??> <#if sys.getAllPSDevSlnMSDepAPIs()??>
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi> <#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if depSysApi.getPSDCMSPlatform()?? > <#if depSysApi.getPSDCMSPlatform()?? >
<#if depSysApi.getUserParam("ibiz.rocketmq.producer.namesrvAddr","")??> <#if depSysApi.getUserParam("rocketmq.producer.namesrvAddr","")??>
<#assign mqServerAddress = depSysApi.getUserParam("ibiz.rocketmq.producer.namesrvAddr","")> <#assign mqServerAddress = depSysApi.getUserParam("rocketmq.producer.namesrvAddr","")>
</#if> </#if>
</#if> </#if>
</#list> </#list>
...@@ -61,7 +61,7 @@ import java.util.List; ...@@ -61,7 +61,7 @@ import java.util.List;
@Slf4j @Slf4j
@Aspect @Aspect
@Component @Component
@ConditionalOnExpression("${r'${ibiz.rocketmq.producer.isOnOff:'+"'"+mqServer+"'"+"}.equals('on')"}") @ConditionalOnExpression("${r'${rocketmq.producer.isOnOff:'+"'"+mqServer+"'"+"}.equals('on')"}")
public class RocketMQAspect public class RocketMQAspect
{ {
private final ExpressionParser parser = new SpelExpressionParser(); private final ExpressionParser parser = new SpelExpressionParser();
...@@ -70,7 +70,7 @@ public class RocketMQAspect ...@@ -70,7 +70,7 @@ public class RocketMQAspect
@Lazy @Lazy
DefaultMQProducer defaultMQProducer; DefaultMQProducer defaultMQProducer;
@Value("${r'${ibiz.rocketmq.topic:default}'}") @Value("${r'${rocketmq.topic:default}'}")
private String topic; private String topic;
<#list sys.getAllPSDataEntities() as dataEntity> <#list sys.getAllPSDataEntities() as dataEntity>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册