BizTalk 2010 - BAM跟踪配置文件问题? [英] BizTalk 2010 - BAM Tracking Profile issues?

查看:66
本文介绍了BizTalk 2010 - BAM跟踪配置文件问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在BizTalk 2010中使用跟踪配置文件编辑器时,我遇到了一些拜占庭式的失败

I'm experiencing some Byzantine failures when using the tracking profile editor in BizTalk 2010.

我有一个从A接收文件的业务流程,检查文件名是否唯一(重复检查)并将其发送到目的地B.

为每个文件启动业务流程。

I have an orchestration that receives files from A, checks that the filename is unique (duplicate check) and sends it to destination B.
An orchestration is started for each file.

在发送消息之前,继续进行BAM:

Before sending the message, a BAM continuation is made:

BAM延续的表达形式

newGUID = System.Guid.NewGuid();

Microsoft.BizTalk.Bam.EventObservation.OrchestrationEventStream.EnableContinuation(

    BAMActivity,messageID," Orchestration2TPE" + newGUID.ToString());
$


Expression shape for BAM continuation
newGUID = System.Guid.NewGuid();
Microsoft.BizTalk.Bam.EventObservation.OrchestrationEventStream.EnableContinuation(
    BAMActivity, messageID, "Orchestration2TPE" + newGUID.ToString());

在创建输出消息之前

Before creating the output message

消息分配 shape 输出消息

InvoiceDocOut = InvoiceDoc;
$
InvoiceDocOut(*)= InvoiceDoc(*);

InvoiceDocOut(LEGACY。 ChannelName)= newGUID.ToString();
$
InvoiceDocOut(LEGACY.DocSpecName)="文件传输OK";

Message assignment shape for the output message
InvoiceDocOut = InvoiceDoc;
InvoiceDocOut(*) = InvoiceDoc(*);
InvoiceDocOut(LEGACY.ChannelName) = newGUID.ToString();
InvoiceDocOut(LEGACY.DocSpecName) = "File transferred OK";

编排BAM在编排之前结束实例已关闭。

发送端口没有发送通知,而是依靠跟踪配置文件显示正确的信息,因此BAM相关性。

这是跟踪配置文件配置:

The orchestration BAM is ended before the orchestration instance is closed.
There is no delivery notification on the send port, instead I rely on the tracking profile to show the correct information, hence the BAM correlation.
Here is the Tracking Profile config:





我在哪里使用了一些弃用的(?)属性字段来携带BAM信息。

我已经确认发送时间中列出的发送端口状态
具有相同的发送端口名称。

结果输出大部分符合预期。使用
状态
已发送时间更新正确的BAM条目,并将BAM条目正确关闭到数据库中的已完成表(BAMPrimaryImport)中。问题是,有些时候
状态字段未更新:



Where I've used some deprecated(?) property fields to carry the BAM information.
I have confirmed that the send port listed in Sent Time and Status has the same send port name.
The result out is mostly as expected. The correct BAM entry is updated with both Status and Sent Time, and the BAM entries are properly closed into the Completed table in the database (BAMPrimaryImport). The issue is that some of the time the Status field is not updated:



(不包括文件名列)


(the file name column is excluded)

从时间上你可以看到这个不仅在同时处理多个文件时发生,而且在发送一个和一个文件时发生(第二个顶部条目)。始终会填充
已发送时间条目,但状态有时不会。

From the timing you can see that this not only happens when processing multiple files simultaneously, but also when sending one and one file (second top entry). The Sent Time entry is always populated, but the Status is sometimes not.

任何输入都将非常感谢:)

Any input would be greatly appreciated :)

推荐答案

您好阿比莫夫,

Hi Abimov,

我们正在对此问题进行一些研究并可能让一些高级工程师参与其中。 谢谢你的耐心!

We are doing some research of this issue and may involve some senior engineers into it.  Thanks for your patience!

谢谢,


这篇关于BizTalk 2010 - BAM跟踪配置文件问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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