Class SimpleWorkflowManager

java.lang.Object
io.axoniq.framework.workflow.runtime.execution.SimpleWorkflowManager
All Implemented Interfaces:
WorkflowManager

@Internal public class SimpleWorkflowManager extends Object implements WorkflowManager
Workflow Manager backed by the workflow history projection and live cancellation coordinators.
Since:
5.4.0
Author:
Simon Zambrovski
  • Constructor Details

    • SimpleWorkflowManager

      public SimpleWorkflowManager(WorkflowHistoryRepository historyRepository, WorkflowExecutionRepository executionRepository, WorkflowCancellationService cancellationService, WorkflowStore workflowStore, UnitOfWorkFactory unitOfWorkFactory, Executor executor)
      Creates a Workflow Manager using a history projection and live cancellation delivery.
      Parameters:
      historyRepository - repository containing projected workflow states
      executionRepository - repository containing live workflow executions
      cancellationService - service delivering cancellation requests to live workflows
      workflowStore - store the state of a non-live workflow is sourced from
      unitOfWorkFactory - factory for the unit of work each such sourcing runs in
      executor - executor used for asynchronous manager operations
  • Method Details