I am using:
Endpoint configured as Send-only!
When I start endpoint in order to send a message and (for any reason) the broker becomes unattainable, Endpoint.Start() does not throw any Exception, error throws only after Send() invocation(BrokerUnreachableException).
After a few retries of Send(), if broker comes up I still receive an exception with the message “None of the specified endpoints were reachable”.
I have a couple of questions about this behavior:
- How to check if the created instance has a connection to the broker?
- Is there a way of configuring this kind of behavior (Automatically reconnect if the broker were unreachable at the moment of instance creation?