重复实例编排 [英] Duplicate Instances Orchestration

查看:90
本文介绍了重复实例编排的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


在我们的解决方案中,有一个名为Polling的业务流程,它绑定到一个接收端口,该端口有一个类型为wcf-sql的接收位置。 / p>

接收位置通过基于检查lastrun列的where子句对表执行查询来轮询。查询根据条件返回1行或多行。结果集是通过进一步
处理向其发送电子邮件的目的地(国家/地区)列表。


接收位置具有xmlreceive管道,该管道将结果集分配到单个记录中(每个我们得到了尽可能多的Polling编排实例。


通常6个国家/地区发送6封电子邮件,我们可以在跟踪的实例中看到6个Polling业务流程实例存在。


然而,有些日子生成了12封电子邮件,我发现在跟踪该端口的xmlreceive实例只有一个有6个消息实例,但轮询业务流程实例是12. 如果是的话,这是可能的吗?怎么样?以下是
跟踪实例的快照:




解决方案

你好btsdev123,


首先让我们看看这些消息是否完全重复。你可以采取以下步骤吗?


1)关闭管道所分发的消息的跟踪属性。


2)现在获取上下文属性12业务流程收到的消息



如果多条消息的上下文属性匹配,那么我们可以断定消息是重复消息。通过这样做,您将能够了解是否多次处理相同的记录。您对环境的配置是什么?
我的意思是有多个应用服务器从同一个数据库服务器轮询数据。



问候,


Hi All,

In our solution there is an orchestration, named Polling, which is bound to a receive port which has one receive location of type wcf-sql.

The receive location polls by executing query on a table based on a where clause that checks lastrun column. The query return 1 or more than one rows based on the condition. The resultset is a list of destinations (countries) to which email is sent by further processing.

The receive location has xmlreceive pipeline which debatches the resultset into individual records (one per country) and we get as many instances of Polling orchestration.

Usually for 6 countries 6 emails are sent out and we can see in tracked instances that 6 instances of Polling orchestration were present.

However some days 12 emails are generated and i found in tracking that xmlreceive instance for that port was only one with 6 message instances, but the polling orchestration instances were 12.  Is that possible if yes how? Below is the snapshots of tracked instances:


解决方案

Hi btsdev123,

First of all let us find out if the messages are at all duplicate or not. Can you please undertake following steps

1) GEt the tracking properties for the messages debatched by the pipeline.

2) Now get the context properties of the messages received by the 12 orchestration

If the context properties for more than one message match up then we can conclude the message is duplicate one. By doing this you will be able to understand if the same records were processed multiple times. Also what is your configuration for the environment? By that I mean are there multiple app servers polling data from the same database server.

Regards,


这篇关于重复实例编排的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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