可以将MSMQ触发器编程为在.Net中的某个时间间隔后定期触发吗? [英] Can MSMQ Triggers are programmed to triggers periodically after some time interval in .Net?

查看:66
本文介绍了可以将MSMQ触发器编程为在.Net中的某个时间间隔后定期触发吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个场景,我必须从一个应用程序在MSMQ中插入记录,并在一段时间后从MSMQ检索并由另一个应用程序(如.exe文件或任何服务)插入到DataBase(DB)。



我有可执行文件,它读取并插入从MSMQ到DB的所有记录,在调度程序等一段时间间隔后重复该过程。



MSMQ有触发器在一些满足我的条件的规则上调用.exe文件,但这些触发器具有有限的规则集,用于检查标签,正文,身份等。



正如我所提到的,我想要一种方法来安排MSMQ触发器。有没有办法在.net windows应用程序中安排MSMQ触发器?

I have a scenario where I have to insert records in MSMQ from one application and after some interval retrieve from MSMQ and insert into DataBase(DB) by another application (like .exe file or any service).

I have executable file which reads and insert all records from MSMQ to DB which repeats the process after some time interval like scheduler.

MSMQ have triggers to invoke ".exe" file on some rules which satisfies my one condition, but these triggers have limited rule sets which checks label, body, id, etc..

As I mentioned I want a way to schedule a MSMQ trigger. Is there any way to scheduled MSMQ trigger in .net windows application?

推荐答案

任务计划程序 [ ^ ]

如何:创建Windows服务 [ ^ ]



我在企业环境中实施的个人喜爱

使用WCF和MSMQ排队的初学者指南,显示双向客户端对应 [ ^ ]
Task Scheduler[^]
How to: Create Windows Services[^]

And a personal favorite that I've implemented in an enterprise setting
A beginner's guide to queuing with WCF and MSMQ showing bi-directional client correspondance[^]


这篇关于可以将MSMQ触发器编程为在.Net中的某个时间间隔后定期触发吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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