Package org.axonframework.modelling.saga
Annotation Interface EndSaga
@Documented
@Retention(RUNTIME)
@Target({METHOD,ANNOTATION_TYPE})
@HasHandlerAttributes
public @interface EndSaga
Indicates that the annotated
SagaEventHandler method indicates the end of a Saga instance's lifecycle. When
event handling completes, the Saga is destroyed and may no longer receive events.
This annotation can only appear on methods that have been annotated with SagaEventHandler.- Since:
- 0.7
- Author:
- Allard Buijze