When you use MSMQMessage.send to send a message, how do you know if it is sent successfully (ASP)
3 answers
Sort by: Most helpful
-
-
Sam Wu-MSFT 7,121 Reputation points Microsoft Vendor
2021-05-26T09:24:07.05+00:00 Hi @asper
The sender, if he doesn't receive a MessageQueueException then he can consider that the message is sent successfully. If you really want to see in "real time" whether B received a message from A or not, you should rely on other communication technologies (direct TCP connection or something that wraps a TCP communication channel, such as .NET Remoting or WCF).
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
-
asper 1 Reputation point
2021-05-26T12:21:02.5+00:00 hi,Do you still have ASP programmers in your company?for example:https://learn.microsoft.com/en-us/previous-versions/windows/desktop/msmq/ms707117(v=vs.85)