In our project we have the following pattern:
Controller API (Sending command to Endpoint1)
—> End point 1
Send command to Endpoint2
—> End point 2 (Currently Unrechable)
1). We are sending command from controller to Endpoint1.
2). Command will be handled by a particular handler at endpoint1.
3). Now we are trying to sending other command to Endpoint2 (From inside same Handler of endpoint1)
4). Currently Endpoint2 is unreachable
5). Problem: We are unable to get/catch any information/exception, due to this the handler call is stuck in retry loop and all the logic are being executing again and again.
I’ve been searching for something to help point us in the right direction on how we can handle such kind of scenario in .net core application.