Hi,
I have a Saga in a microservice that sends a command over the commandGateway to another microservice, both of which are connected to axon server and it works just fine. But if I shut down the service that contains the command handler, i get a NoHandlerForCommandException. I can’t use a RetryScheduler to retry sending the command, because the exception is non-transient. I looked at RetryErrorHandler for the event, but that also only works if the exception is transient.
What would be the best approach here? Since this seems like a pretty basic problem there should be some kind of out of the box solution within the framework, no?
I want the Saga to retry sending the command, so once the other microservice gets back up again, it will eventually receive the command.
Would really appreciate some thoughts on this