![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a question on Microsoft Message Queue. How do I give higher priority to messages and get it process before others. I will like to use the mechanism supplied by the queue service rather than relying on reading all the messages and ordering them. Below I have a simple send and receive. System.Messaging.Message msg = new System.Messaging.Message(); msg.Body=myPayment; MessageQueue msgQ =new MessageQueue(".\\Private$\\billpay"); msgQ.Send(msg); msgQ.Formatter = new XmlMessageFormatter(arrTypes); myPayment=((Payment)msgQ.Receive().Body); Your assistants will be greatly appreciated. ThanksTiger |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |