Files
2021-01-12 23:30:48 +08:00

32 lines
1.1 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<Root>
<!--发布接入-->
<!--
消息接入时,就该判断出消息所属消息定义
一般根据接入方式,接收地址(IP+端口)可判断出所属消息定义
不同的消息会使用不同的接入方式,接收地址?
-->
<Transaction code="FtpGet">
<DynSentence name="query">
<Sentence>
select service,para from pubsubinf where EDefID='%s'
</Sentence>
<Fields>EDefID|</Fields>
</DynSentence>
<FlowCtrl>
<!--ftp取文件 需要回取文件 只有这种情况才能用CTL实现-->
<!--
<Exec func ="PUB:FtpGet" error="IGNORE">
<Arg name="FtpCfg" value="FTP003"/>
</Exec>
-->
<Set>file=STRCAT(dat/,|,exchangeRate.dat,|)</Set>
<Exec func="PUB:InvokeService" error="IGNORE">
<Arg name="ServiceName" value="publish" />
</Exec>
<Quote name="ErrorProc" />
</FlowCtrl>
</Transaction>
</Root>