Package io.axoniq.framework.workflow.runtime.execution
@NullMarked
package io.axoniq.framework.workflow.runtime.execution
Internal implementation of the workflow execution engine: the
WorkflowEngine, its scheduling, state and
storage, checkpointing/replay support, cancellation coordination, and the delegates implementing individual step
primitives.- Since:
- 5.4.0
-
ClassDescriptionAbstract class for step executor implementations.Base class for author-facing
WorkflowContextimplementations.Default implementation ofAllMatchCombinator.Default implementation ofAnyMatchCombinator.Event handling component handling any event, which is checkpoint-aware.Default implementation ofEventNameCustomizerthat builds event names from a base name and status suffix.Builder forDefaultEventNameCustomizer.Data class containing information for payload customization.Default action resolver that invokes the action supplied by the workflow definition.Wall-clock timeout scheduler used in production.Event handling component handling any event.Event sourced collection of running workflow IDs, loaded byWorkflowStore.Holds the current state of a workflow and modified by theEventSourcedWorkflowState.evolve(org.axonframework.messaging.eventhandling.EventMessage, org.axonframework.messaging.core.unitofwork.ProcessingContext)method receiving messages.Event-sourcing repository-backed workflow store.Execute delegate implementingExecutePrimitive.Resolves the action to invoke for an "execute step".In-memory implementation ofWorkflowExecutionRepositorybacked by aConcurrentHashMap.Workflow id provider using the message identifier as workflow id.Default implementation ofNoneMatchCombinator.Primitive implementing durable payload modifications.Workflow id provider accessing event message property.Implements thePublishPrimitive.Records steps reached by one workflow body invocation for replay-drift detection.Decorator that adds retry behavior to anExecuteDelegate.Tracks runningCompletableFutures for workflow steps, keyed by step name.Identifies workflow instances that have started and have not yet reached a terminal state.In-memory workflow definition registry implementation.Workflow instance implementation.Workflow Manager backed by the workflow history projection and live cancellation coordinators.Workflow Step result based on the Workflow State.Blocks until the workflow state changes.Thrown when aWorkflowEnginecannot resolve a workflow configuration for a durable workflow definition it encountered while restoring a segment.Implements theVersionPrimitive.Delegate implementingWaitForPrimitive.Definition of theAxoniqAddonfor licensing, loaded through SPI during boot to log its existence to the user, and warn that a license is needed.Coordinates cancellation requests for one running workflow instance.Represents one pending workflow-cancellation request owned by the cancellation coordinator.Provides pending workflow-cancellation requests to the workflow driver.Internal entry point for requesting cancellation of running workflows by identifier.WorkflowConfigurationRegistry<W extends WorkflowConfigurationRegistry<W>>Registry for holding workflow configurations with corresponding start conditions.Holder for the SLF4J logger used by routing decisions (interfaces cannot have static loggers directly).Workflow execution factory adopting an author-facing context implementingAbstractWorkflowContext.Main workflow component responsible for managing and executing workflows.ACheckpointingimplementation dedicated for aWorkflowEngine, to separate check pointing behavior from it.Coordinates workflow work that must complete before checkpoint advancement.Resolves workflow-specific event-store tags for engine-published events.Constant holder for workflow event tags.Implementation ofWorkflowExecutionOperationsthat delegates all operations to the underlyingWorkflowExecutionand primitive implementations.Repository for retrieving workflow executions, storing new ones, and removing them.Delegate that applies workflow and step lifecycle-control commands on the workflow control thread.Delivers workflow timeout and retry-backoff deadlines.Scheduled task handle.Utility containingWorkflowStepResultfactory methods.Narrow adapter around workflow-state repositories used during startup.