Class SendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler

java.lang.Object
dk.cloudcreate.essentials.reactive.command.SendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler
All Implemented Interfaces:
SendAndDontWaitErrorHandler
Enclosing interface:
SendAndDontWaitErrorHandler

public static class SendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler extends Object implements SendAndDontWaitErrorHandler
Fallback SendAndDontWaitErrorHandler that error logs any issues and rethrows the exception.
The SendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler is compatible with a Durable Command Bus (e.g. using DurableQueues), as rethrowing the exceptions allows the command to be retried