Embedded Axon Server?

Hi,

Is it possible to start an embedded in-memory Axon Server instance within your application for testing purposes?

Regards,
/Johan

Hi Johan,
we don’t have a real embedded Axon Server, because you can get that with e.g. an In-memory Event Store. Most important is to add “axon.axonserver.enabled=false” to the application’s properties for the test, and it will not try to connect. If you do want that behavior, I suggest you take a look at e.g. Test Containers and run Axon Server in Docker for your tests. We run tests against Axon Server in Docker ourselves, or even using GCE VMs for whole-cluster tests.

Cheers,
Bert Laverman

Awesome, thank you very much :slight_smile: