Is it possible to use the Event Bus and Event Store independently of the rest of Axon framework? By independently I mean I don’t want my entities to extend a parent class and I don’t want to use the Axon repositories.
Yes, it’s possible. The only limitation is that you don’t have any of the advantages the framework will give you.
When appending events to the event store, you’ll have to make sure the sequence numbers are correct, yourself. But that shouldn’t be hard to do.
since it’s not the intended use of Axon, it’s not mentioned explicitly in the documentation. I don’t have any examples eather. Unless you count all the Axon core code as an example…