markRetryScheduled

open override fun markRetryScheduled(error: String): OutboxMessage(source)

Reverts the message to OutboxStatus.PENDING after a failed publishing attempt, incrementing retryCount and stamping lastRetryAt. The message will be picked up again by the next poller cycle after the configured retry cooldown elapses.