Click here to Skip to main content
15,937,012 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Juval Lowy's WCF book suggests that messages transmitteed using persistent queues (via MSMQ) will always arrive.

This is due to the queued messages being held in disk so it will even survive a shutdown of the machine.

My client application's only concern regarding dispatched messages is that they arrive at the host.

Before I learned this nugget, I was designing timers, acknowlegement requests and responeses all of which increase machine load and network traffic in an enviroment where both have to be kept to a minimum for performance reasons.

This notion that I can effectively 'fire and forget' in the knowlege that the message will always be delivered is hugely attractive.

Is it too good to be true?
Posted

1 solution

I'd be astonished if you can take that as a valid stand, if the transport layer goes down the message will not be delivered, it may still exist and may automatically resend but for a limited number of retries.

I would also consider the asynch callback a satisfactory confirmation the message arrived
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900