public class ToDoSaga extends AbstractAnnotatedSaga
Constructor and Description |
---|
ToDoSaga() |
Modifier and Type | Method and Description |
---|---|
void |
onDeadlineExpired(ToDoItemDeadlineExpiredEvent event) |
void |
onToDoItemCompleted(ToDoItemCompletedEvent event) |
void |
onToDoItemCreated(ToDoItemCreatedEvent event) |
void |
setCommandGateway(CommandGateway commandGateway) |
void |
setEventScheduler(EventScheduler eventScheduler) |
associateWith, associateWith, associateWith, end, getAssociationValues, getSagaIdentifier, handle, isActive, registerParameterResolverFactory, removeAssociationWith, removeAssociationWith, removeAssociationWith
@StartSaga @SagaEventHandler(associationProperty="todoId") public void onToDoItemCreated(ToDoItemCreatedEvent event)
@SagaEventHandler(associationProperty="todoId") public void onDeadlineExpired(ToDoItemDeadlineExpiredEvent event)
@EndSaga @SagaEventHandler(associationProperty="todoId") public void onToDoItemCompleted(ToDoItemCompletedEvent event)
public void setCommandGateway(CommandGateway commandGateway)
public void setEventScheduler(EventScheduler eventScheduler)
Copyright © 2010-2014. All Rights Reserved.