I am using Mongo as EventStore with SimpleCommandBus. AxonConfig File I am able to see domain events in the store. After enabling Mongo DB Screen
I am expecting EventHandlers to be called after AggregateLifeCycle.apply() method call.
There are no errors and from the logs, I see that events EventBus.publishEvent and EventBus.commitEvents but I don't see EventHandler consuming these events. Using Axon Server earlier, I tested sample code it worked fine but once I updated to use Mongo as EventStore and SimpleCommandBus, this happened. Am I missing something.
This should not be a problem. This project is a variation of the giftcard demo, but without Axon Server.
There are some other problems with using MongoDB as event store through. This blog goes into the details.