从每个部署的Biztalk应用程序收集统计信息 [英] Collecting statistics from each of the deployed Biztalk application

查看:80
本文介绍了从每个部署的Biztalk应用程序收集统计信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有业务要求在biztalk应用程序中记录每个传入和传出消息的以下统计信息:

I have a business requirement to record the following statistics for each of the incoming and outgoing message in a biztalk application:

- 进入的记录数

- 外出的记录数

- receivefilename

--receivefilename

- sendfilename

--sendfilename

- portnames

--portnames

有没有办法以通用方式执行此操作,以免重新编码和重新编码部署每个应用程序?我能想到的是创建一个带有自定义组件的receive和sendpipeline,该组件具有文档xpath的属性,而这个
组件会将这些数据记录到sql表中。

Is there a way to do this in a generic way, so as not re-code and re-deploy each of the application? What I could think of was of creating a receive and sendpipeline with custom component that would have a property for the xpath of the document, and this component would record these data onto a sql table.

但是,正如您所看到的那样,它需要 - 在每个应用程序中使用这些管道。在某些时候,它可能还需要重新加载。任何人都可以建议更好的解决方案吗?有没有在这里使用BAM?

But then, as you can see, it would require -- these pipelines to be consumed in each of the application. At certain times it might also need redeoply. Can anyone suggest a better solution to this? Is there anyway to make use of BAM here?

推荐答案

BizTalk BAM就是这里的解决方案。根据您要跟踪的消息属性,您应该能够创建BAM活动/视图,尽管TPE创建/映射现有的业务流程/消息流到视图以获取报告。
因此,您将使用上面提到的字段创建BAM活动,并将视图与其关联。然后,您将创建一个TPE,以将业务流程/消息传递端口映射到活动。对于记录/输入/输出的数量,每个实例的值将为您提供
计数。

BizTalk BAM is the solution here. Given what you want to track being available as message properties, you should be able to create a BAM Activity/View and though the TPE create/map the existing orchestrations/messaging flows to the view to get your reports. So you would create a BAM activity with the fields you mention above and associate a view with it. Then you'd create a TPE to map the orchestration/messaging ports to the Activity. For the number of records/in/out the per instance values will give you the count.

参考


  1. 业务活动监控 - https://msdn.microsoft.com/en-us/library/aa577946.aspx
  2. 使用业务活动监控 - https://msdn.microsoft.com/en- us / library / aa561326.aspx
  3. 深入开发人员的业务活动监控 - https://msdn.microsoft.com/en-us/library/dd320628(v=bts.10).aspx

问候。


这篇关于从每个部署的Biztalk应用程序收集统计信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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