XenoPuTtSs
XenoPuTtSs

Reputation: 1284

with Rebus is it possible to get notified when it can't communicate on its transport?

I'm using a Sql Transport and I'm wondering if I could get a notification somehow that it wasn't able to communicate with it's bus.

I have the scenario where I want to display a message to the user when communication on the bus isn't working.

Upvotes: 1

Views: 62

Answers (1)

mookid8000
mookid8000

Reputation: 18628

Generally, there's no way for Rebus to know whether sending a message will be successful, other than actually trying and sending a message.

An endpoint that receives messages will periodically log warnings in its log if it loses its connection to the transport.

Upvotes: 1

Related Questions