Annotation Interface SagaStep
Declares a method as a saga step in an annotation-derived descriptor.
A trusted managed saga factory persists intent before the callback and preserves its external idempotency key across takeover. Non-idempotent uncertainty requires reconciliation.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanDeclares that the handler honors the context's stable external key on replay.
-
Element Details
-
name
-
order
int orderReturns the zero-based step order.- Returns:
- step order
-
idempotent
boolean idempotentDeclares that the handler honors the context's stable external key on replay. This is an application protocol obligation, not automatic exactly-once external execution.- Returns:
- whether safe keyed replay is supported
- Default:
false
-