Class WorkflowTestEventPublicationEnhancer

java.lang.Object
io.axoniq.framework.workflow.runtime.test.configuration.WorkflowTestEventPublicationEnhancer
All Implemented Interfaces:
ConfigurationEnhancer

public class WorkflowTestEventPublicationEnhancer extends Object implements ConfigurationEnhancer
Test configuration enhancer that installs workflow test event-publication components.

This enhancer adds the supporting infrastructure used by workflow tests that need to publish events through the same event pipeline as the runtime while keeping publication deterministic and observable. It registers three components:

Use this enhancer when a test should drive workflows by publishing real events, especially when the test also needs access to generated ids or delayed event publication. It is commonly used by higher-level workflow test infrastructure and can also be registered directly in custom test configurations.

Since:
5.4.0
Author:
Simon Zambrovski
  • Constructor Details

    • WorkflowTestEventPublicationEnhancer

      public WorkflowTestEventPublicationEnhancer()
  • Method Details