BizUnit用于测试直接绑定到消息框的Biztalk Orchestration [英] BizUnit For testing Biztalk Orchestration which is directly bounded to message box

查看:99
本文介绍了BizUnit用于测试直接绑定到消息框的Biztalk Orchestration的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Folks,




我有一个直接绑定到消息框的编排接收形状​​的过滤器。

I have an orchestration which is directly bounded to message box with a filter on receive shape.

如何编写xml配置文件以从数据库中获取数据?

How Do I write the xml configuration file to fetch data from the DB?




或者,

是否有任何方法可以触发根据轮询声明接收轮询的位置 

Is there any way of how to trigger a receive a location that polls based on polling statement 

更新dbo.XXX 设置NotifyFlag ='1'。这将依次执行Sproc并取消批处理记录并将其发送到消息框,我的上述业务部门将从中取出它。

Update dbo.XXX  set NotifyFlag ='1' . This will in turn execute a Sproc and de-batch the records and send it to Message box from where my above  orchestration picks it up..

我们如何在BizUnit中完成此任务?

How do we accomplish this in BizUnit?

Racha Rams

Racha Rams

推荐答案

BizUnit用于执行分布式系统的集成测试。但是我们仍然需要编写自定义内容来自动执行该过程。

BizUnit is meant to perform integration testing of distributed systems. But still we need to write custom things to automate the process.

在您的情况下,您可以创建文件接收位置,Biztalk将从中选择将使用BizUnit放置的文件。应该手动创建此文件以包含应该发送到MessageBox的debatched输出。

In your case either you can create a file receive location from where Biztalk picks files which will be placed using BizUnit. This file should be manually created to contain the debatched output which is supposed to go to MessageBox.

其次,您可能必须编写一些自定义代码来触发此更新查询。

Secondly you may have to write some custom code to trigger this update query.

谢谢。


这篇关于BizUnit用于测试直接绑定到消息框的Biztalk Orchestration的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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