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

适配rocketmq

上级 1fc578e5
......@@ -80,7 +80,7 @@ public class RocketMQConfig {
<#assign instanceName=syncAgent.getAgentTag2()>
</#if>
@Autowired
${pub.getPKGCodeName()}.core.${dataEntity.getPSSystemModule().getCodeName()?lower_case}.service.I${pub.getPKGCodeName()}Service ${pub.getPKGCodeName()}Service;
${pub.getPKGCodeName()}.core.${dataEntity.getPSSystemModule().getCodeName()?lower_case}.service.I${dataEntity}Service ${dataEntity}Service;
@Bean("${consumer}")
public DefaultMQPushConsumer ${srfmethodname(consumer)}(){
......@@ -98,7 +98,7 @@ public class RocketMQConfig {
<#if dataSync.getInTestPSDEAction()??>
<#assign inputAction=srfmethodname(dataSync.getInTestPSDEAction().codeName)>
${pub.getPKGCodeName()}.core.${dataEntity.getPSSystemModule().getCodeName()?lower_case}.domain.${dataEntity.getCodeName()} domain = JSON.parseObject(new String(msg.getBody()),${pub.getPKGCodeName()}.core.${dataEntity.getPSSystemModule().getCodeName()?lower_case}.domain.${dataEntity.getCodeName()}.class);
${pub.getPKGCodeName()}Service.${inputAction}(domain);
${dataEntity}Service.${inputAction}(domain);
<#else>
log.info("接收到[]消息,但未配置实体输入过滤行为,消息将被忽略。"+new String(msg.getBody()));
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册