-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement nested commands #179
Comments
|
cer
added a commit
that referenced
this issue
Aug 15, 2022
Example command handler:Example command handler: public void handleComplexCommand(CommandMessage<TestComplexCommand> cm, CommandReplyToken replyToken) {
// save replyToken for later
} Example of sending a reply laterUse the @Autowired
private CommandReplyProducer commandReplyProducer;
....
CommandReplyToken replyToken = .... ; // from earlier
List<Message> replies = commandReplyProducer.sendReplies(replyToken, Collections.singletonList(withSuccess())); |
eventuate-tram/eventuate-tram-sagas@0bfe1df reflects changes made by 66d8bb7 |
cer
referenced
this issue
in eventuate-tram/eventuate-tram-sagas
Aug 15, 2022
cer
added a commit
that referenced
this issue
Aug 16, 2022
…ReplyToken to enable deserialization, Renamed CommandHandlerArgs.getReplyInfo() to getCommandReplyToken()
cer
added a commit
to eventuate-tram/eventuate-tram-core-quarkus
that referenced
this issue
Oct 3, 2022
…dReplyProducer bean
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently
Proposed:
Support command handlers that
CommandReplyToken
- that contains the data needed to construct a reply, e.g. message headers etc.CommandReplyToken
can be serialized/stored in a database and used to later to replyThe text was updated successfully, but these errors were encountered: