Method Retry(int, TimeSpan)

Assembly: redb.Route.dll

Apache Camel parity: errorHandler(defaultErrorHandler().maximumRedeliveries(n).redeliveryDelay(d)).
Retries the inner transactional body up to attempts times before letting
the exception propagate to the transaction (which will then roll back).

public TransactionDefinition Retry(int attempts, TimeSpan delay)