ProtectConfigurer

class ProtectConfigurer<C, R>(builder: SagaBuilder<C, R>)

Intermediate receiver returned by the protect DSL property.

Exposes a single infix function so that the call site reads as English:

protect with tamperEvidence

Parameters

builder

The saga builder this configurer is modifying.

Constructors

Link copied to clipboard
constructor(builder: SagaBuilder<C, R>)

Functions

Link copied to clipboard
infix fun with(scheme: TamperEvidenceScheme): SagaBuilder<C, R>

Enables the given scheme on the builder's journal.