We have one application server running our c# windows service and one server running TIBCO EMS. Both of the servers will be restarted at different time during the week.
When the application server come back online first, we like the c# windwos service keep trying to connect to the EMS server until the EMS server is back online. ( I have got the retry logic to work for this scenario)
When the EMS server goes offiline while the application server is running(e.g. EMS client in c# is listening to incoming message on the queue), what's the best way to do the retry logic for this scenario? will an exception be thrown immediately?
Thanks