如何每 X 分钟运行 biztalk 编排

发布于 2024-12-17 05:59:19 字数 216 浏览 4 评论 0原文

我有一个由作为服务发布的公共端口启动的编排。每当有人调用此服务时,编排就会启动,

我也需要每 30 分钟启动一次编排。

更好的方法是什么? 我看过一些这里,但我想要更简单的东西

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

萌无敌 2024-12-24 05:59:19

正如您引用的博客文章所述,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?

感性 2024-12-24 05:59:19

它不会每 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.

花之痕靓丽 2024-12-24 05:59:19

参考windows sheduler写一个批处理文件

Write a batch file with reference to windows sheduler

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文