MessagingService failure cases

The docs say Delivery is best effort and not guaranteed. Make sure to architect your experience so delivery failures are not critical. They don’t say how to handle or detect delivery failure. PublishAsync returns void, so does it error when it fails? What errors can I expect?

For comparison, memory stores have a documented list of status codes that can occur. Ideally every API would have something like this to refer to so that every response can be properly handled.

3 Likes

It’s like UDP I believe; There are no built-in measures to verify the message was not lost due to network conditions (like Packet Loss), so you should not assume that it’s guaranteed to be received.

1 Like