Hi everybody,
what we would like to have is a classic rest-service that can handle a command
and synchronously return the resulting events as a result.
I already found this:
https://groups.google.com/forum/#!topic/axonframework/GAflgNQjbZo
We already have an existing frontend which can’t deal with websockets or the stomp protocol.
So my key takeaways from the above posings are basically:
- You can’t hide axon framework behind an already existing rest api.
- You have to be able to handle the resulting events from a command in your frontend asynchronously
- or you can let the frontend poll against the query part of the api.
We don’t want to have CQRS primarily but love to use the Eventsourcing part of axon.
Would there be a scenario to use this part of axon behind a rest-api?
Are there any examples for this using Axon3?
Regards,
Dirk