简体   繁体   English

Biztalk编排在触发消息之前由文件适配器触发

[英]Biztalk orchestration gets triggered by file adapter ahead of trigger message

We are trying to use the scheduled task adapter for triggering orchestration. 我们正在尝试使用计划的任务适配器来触发业务流程。 Using the code sample linked below the adapter does not wait for the scheduled time to process order files, it processes the orders as soon as they are available. 使用适配器下面链接的代码示例不会等待计划的时间来处理订单文件,而是在订单可用时立即对其进行处理。 We are using the version 4.0 of the adapter on Biztalk 2010. Any help or sugesstion would be greatly appreciated. 我们在Biztalk 2010上使用适配器的版本4.0。非常感谢您的帮助或建议。

BizTalk Scheduled Task Adapter https://biztalkscheduledtask.codeplex.com/ BizTalk计划任务适配器https://biztalkscheduledtask.codeplex.com/

BizTalk Server : Scheduling Orchestration using Trigger Message http://social.technet.microsoft.com/wiki/contents/articles/25101.biztalk-server-scheduling-orchestration-using-trigger-message.aspx BizTalk Server:使用触发消息计划编排http://social.technet.microsoft.com/wiki/contents/articles/25101.biztalk-server-scheduling-orchestration-using-trigger-message.aspx

If you are using the File Adapter, it looks like you are getting the expected result as the File Adapter will receive the file as soon as it's available. 如果您使用的是文件适配器,则看起来您正在获得预期的结果,因为文件适配器将在文件可用后立即接收该文件。

With the Scheduled Task Adapter, you have to use the FileStreamProvider to receive the file at the scheduled time. 使用计划任务适配器,您必须使用FileStreamProvider在计划的时间接收文件。

I'm familiar with the Scheduled Task adapter but if you want that a receive port picks up files during a part of the day => you can use the service window on the receive location. 我熟悉“计划任务”适配器,但是如果您希望接收端口在一天的一部分时间内提取文件=>,则可以使用接收位置上的服务窗口。

https://msdn.microsoft.com/en-us/library/aa559260.aspx https://msdn.microsoft.com/zh-CN/library/aa559260.aspx

Or do you have a different scenario in mind? 还是您有不同的想法?

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

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