使用顺序护送处理多个消息时出现问题 [英] Problem when handling multiple messages using sequential convoy

查看:54
本文介绍了使用顺序护送处理多个消息时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们从FTP服务器收到两个文件。一个是订单文件,另一个是备注文件,它是可选的。如果订单文件中的注释标志为1,那么我们也应该处理注释文件。这里我们实现了顺序护送,当我们
首先收到订单文件然后收到备注文件时它工作正常。当我们为订单文件设置初始化关联时,我们首先收到备注文件时抛出错误。  请先分享您的想法,当我们收到备注文件时,该怎么办?谢谢!!

We receive two files from FTP server. One is Order file and other one is notes file which is optional one. If the note flag in order file is 1 then we should process notes file as well. Here we implemented sequential convoy and it was working fine when we receive order file first and then notes file. it is throwing error when we receive notes file first as we set initialize correlation for Order file.  Please share your ideas what to do when we receive notes file first than order file?. Thanks!!

推荐答案

您可以尝试使用Listen Shape启动Orchestration,然后Order或Notes将激活它。 然后,您可以在另一方面进行相关。 如果订单显示0注释,则跳过相关注释接收形状。
You can try starting the Orchestration with a Listen Shape, then either the Order or Notes will Activate it.  You can then Correlate on the other.  If the Order shows 0 notes, just skip the Correlated Notes Receive Shape.


这篇关于使用顺序护送处理多个消息时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆