I am building a monolith project using Axon framework. I have a method here that dispatches an event And this is my event handler that might throw an exception My question is, how should I handle the exception? I thought of two things: Should I dispatch an event from the event handler to reverse the transaction? How do I make
Tag: axon
Axon in Java app – reacting to event handler errors
Apologies if this has already been covered, I am new to Axon, and I believe I have read through related Axon documentation and scanned through questions and not found anything which covers my question. Here is my query… With Axon, I understand that I can create a command, send it to the gateway, it then forwards it to the correct
Axon: Create and Save another Aggregate in Saga after creation of an Aggregate
Update: The issue seems to be the id that I’m using twice, or in other words, the id from the product entity that I want to use for the productinventory entity. As soon as I generate a new id for the productinventory entity, it seems to work fine. But I want to have the same id for both, since they’re
aggregate not found in the event store
I am trying to add data using CQRS framework AXON. But while hitting the API(used to add an order). I am getting the below error:- But i already have an Aggregate in my code(OrderAggregate.Java). The Full code can be found at – https://github.com/iftekharkhan09/OrderManagementSystem API to add Order – http://localhost:8080/confirmOrder Request Body:- Can anyone please tell me where am i doing