org.axonframework.saga.annotation
Annotation Type EndSaga


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
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



Copyright © 2010-2016. All Rights Reserved.