按日期对MSMQ中的邮件进行排序 [英] sort messages in MSMQ by date

查看:96
本文介绍了按日期对MSMQ中的邮件进行排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以在具有特定date属性的MSMQ中存储消息,以便如果该消息的date属性设置为明日,则轮询队列的服务今天将无法检索到该消息,但仅在明天或明天的某个时间?

谢谢

i would like to know if it is possible to store a message in MSMQ with a certain date property, so that if that message has the date property set to tomorrow, a service polling the queue will not be able to retrieve it today, but only tomorrow, or at a certain time tomorrow?

Thanks

推荐答案


我认为你不能那样做. MSMQ是Microsoft对消息队列的实现.通常,队列是FIFO数据结构,这意味着传入的第一个元素将是从中出来的第一个元素.
我认为您使用错误的技术来解决您的问题...
对于您的问题数据库将是正确,最简单的解决方案...
Hi,
I think that you can''t do that. MSMQ is Microsoft implementation of the Message Queue. In general queue is FIFO data structure, which means first element that comes in will be the first that will come out form it.
I think that you are using wrong technology to solve your problem...
For your problem database would be right and easiest solution...


这篇关于按日期对MSMQ中的邮件进行排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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