简体   繁体   English

BizTalk 2013R2:为什么我的业务流程在根据业务流程调试器终止后会初始化?

[英]BizTalk 2013R2: Why does my orchestration initialise after being terminated according to the Orchestration Debugger?

I am currently looking at diagnosing some reoccurring issues within a BizTalk environment and currently that is the issue of zombie messages.我目前正在寻找诊断 BizTalk 环境中一些重复出现的问题,目前这是僵尸消息的问题。 I am aware of the conditions that create these errors and whilst diagnosing the orchestration and making use of the Orchestration Debugger, I see that when a message has hit a terminate shape, it is followed by an initialisation.我知道创建这些错误的条件,并且在诊断编排和使用编排调试器时,我看到当消息达到终止形状时,它会跟随初始化。

The general structure of the orchestration is as follows:编排的一般结构如下:

(一般结构图)

The first scope is a long-running transaction and within the loop after that scope, there is a listen shape that waits for a message for 10 seconds.第一个范围是一个长时间运行的事务,在该范围之后的循环中,有一个等待消息 10 秒的监听形状。 If a message comes in time, it enters another long-running transaction.如果消息及时到达,它将进入另一个长时间运行的事务。 It's like a singleton in a way?它在某种程度上就像一个单身人士? Both scopes share the same logical receive port and are correlated, only odd part is how the first scope is repeated within the loop that's inside the listen shape.两个作用域共享相同的逻辑接收端口并且相互关联,唯一奇怪的部分是第一个作用域如何在侦听形状内的循环中重复。 (Orchestration is part of a behemoth of an application that wasn't written by myself.) (Orchestration 是一个不是我自己编写的应用程序庞然大物的一部分。)

Would this initialisation after a termination (what actually causes this to happen?) cause zombies, if so is the structure of the orchestration and the transactions a cause of this?终止后的这种初始化(实际上是什么导致这种情况发生?)是否会导致僵尸,如果是的话,编排和事务的结构是导致这种情况的原因吗? Or am I looking in the wrong place?.还是我找错地方了?

Let me know if there's any extra information that can help!如果有任何额外的信息可以提供帮助,请告诉我!

In the Orchestration debugger it will show when something start and also when it ends with slightly different icons.在 Orchestration 调试器中,它将显示某些内容何时开始以及何时结束,并以略有不同的图标显示。 So what you are seeing is the end of the Orchestration.所以你看到的是编排的结束。

No, that will not cause zombies.不,这不会导致僵尸。 Zombies occur after it ends the logical receive location that listens for something (and it is tearing down the instance subscription) and another message arrives that matched that subscription before the Orchestration has fully ended.僵尸发生在它结束侦听某些内容的逻辑接收位置(并且它正在拆除实例订阅)并且在 Orchestration 完全结束之前到达与该订阅匹配的另一条消息之后。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM