Hi, I have a strange effect I can’t my head around.
I’m using the open source version 4.3 of axon server.
Every time more than one command is sent to the same aggregate, none of the commands is processed, the call “commandGateway.sendAndWait (command)” wait forever respectively “commandGateway.sendAndWait(command, 10, TimeUnit.SECONDS)” times out, and from there on no command for that aggregate is processed anymore.
After restarting the axon server all is fine.
Maybe it is important to know the command handler of the aggregate uses @CreationPolicy(AggregateCreationPolicy.CREATE_IF_MISSING).
Is this a bug in axon server? Or do I have to take precautions to prevent multiple commands to the same instance of an aggregate? How could I prevent this?
Greetings,
Erik