How to run biztalk orchestration every X minutes

别来无恙 提交于 2019-12-24 03:45:13

问题


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


回答1:


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?




回答2:


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.




回答3:


Write a batch file with reference to windows sheduler



来源:https://stackoverflow.com/questions/8184753/how-to-run-biztalk-orchestration-every-x-minutes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!