Object OutboxRecord.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • restore

         final OutboxRecord restore(String id, String aggregateId, String eventType, String payload, OffsetDateTime createdAt, OutboxRecordStatus status, OffsetDateTime completedAt, Integer retryCount, OffsetDateTime nextRetryAt)

        Restores an OutboxRecord from persisted data.

        This method is used when loading records from the database.

        Parameters:
        id - Unique identifier
        aggregateId - Aggregate identifier
        eventType - Event type
        payload - Event payload
        createdAt - Creation timestamp
        status - Current status
        completedAt - Completion timestamp (may be null)
        retryCount - Number of retries
        nextRetryAt - Next retry timestamp
        Returns:

        Restored OutboxRecord instance