如何每 X 分钟运行 biztalk 编排
I have an orchestration that is started by a public port published as service. Everytime somebody calls this service the orchestration starts
I need to start the orchestration every 30 minutes too.
Whats is the better approach?
I've seen some here but I would like something more simple
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
正如您引用的博客文章所述,BizTalk 并不真正进行调度。除了该文章中引用的方法之外,我认为没有真正更简单的方法来解决这个问题。您提到您的编排已作为服务发布。您能否创建一个简单的命令行应用程序来调用您的服务并通过 Windows Schedule 或 SQLAgent 运行该应用程序?
As the blog post you referenced states, BizTalk doesn't really do scheduling. Besides the approaches referenced in that post, I don't think there is really an easier approach to this problem. You mention your orchestration is published as a service. Could you create a simple command line application that calls your service and run that via Windows Schedule or SQLAgent?
它不会每 X 分钟执行一次操作是有原因的。这是 BizTalk 的错误用法。 BizTalk 是发布和订阅的。重复过程适用于 WIndows 服务,如果需要处理,则从 Windows Server 发送到 BizTalk。
当您不发布时,您就不会收到。
但是,可以通过编排订阅入站端口(例如文件),然后在最后放回文件来实现此行为。
There is a reason it does not do things every X minutes. It would be a wrong usage of BizTalk. BizTalk is publish and subscribe. The repetitive process is for WIndows Services and if they need processing then, send to BizTalk from Windows Server.
When you do not publish, you do not receive.
This behaviour can be achieved, however, by an orchestration subscribing to an inbound port (file for example) and then drop a file back at the end.
参考windows sheduler写一个批处理文件
Write a batch file with reference to windows sheduler