hello,
is it possible to configure AF to use virtual threads for command and query handlers invoking?
Whenever Axon Framework uses an ExecutorService
, you are free to provide an ExecutorService
implementation that uses Virtual Threads.
For example, you can use the Executors.newVirtualThreadPerTaskExecutor()
method to construct such an ExecutorService
.
So, short answer, yes you can