Hi,
I am looking at how to best implement some sort of dead-letter store for commands .When a command invocation fails, I would like to retry a couple of times and when still failing persist it somewhere so that administrators can have a look and act if necessary.
For this the IntervalRetryScheduler seems like a good start, but it’s missing a callback that gets invoked when maxretry is reached so I’ll need to override-copy scheduleRetry() to do my thing. Is there a better way perhaps to implement this ? I don’t want to handle the retry on the messaging layer.
Thanks,
Jorg