Package io.namastack.springoutbox
Class OutboxProcessingScheduler
-
- All Implemented Interfaces:
public final class OutboxProcessingSchedulerScheduler responsible for processing outbox records at regular intervals.
This class implements the core scheduling and processing logic for the outbox pattern. It acquires locks on aggregates, processes pending records, and handles failures and retries.
- Since:
0.1.0
Roland Beisel
-
-
Constructor Summary
Constructors Constructor Description OutboxProcessingScheduler(OutboxRecordRepository recordRepository, OutboxRecordProcessor recordProcessor, OutboxLockManager lockManager, OutboxRetryPolicy retryPolicy, OutboxProperties properties, Clock clock)
-
Method Summary
-
-
Constructor Detail
-
OutboxProcessingScheduler
OutboxProcessingScheduler(OutboxRecordRepository recordRepository, OutboxRecordProcessor recordProcessor, OutboxLockManager lockManager, OutboxRetryPolicy retryPolicy, OutboxProperties properties, Clock clock)
- Parameters:
recordRepository- Repository for accessing outbox recordsrecordProcessor- Processor for handling individual recordslockManager- Manager for acquiring and releasing locksretryPolicy- Policy for determining retry behaviorproperties- Configuration propertiesclock- Clock for time-based operations
-
-
-
-