Annotation Interface Saga


@Target({TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Component @Scope("prototype") public @interface Saga
Annotation that informs Axon's auto configurer for Spring that a given Component is a saga instance.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Selects the name of the SagaStore bean.
  • Element Details

    • sagaStore

      String sagaStore
      Selects the name of the SagaStore bean. If left empty the saga will be stored in the Saga Store configured in the global Axon Configuration.
      Default:
      ""