Command Execution Timeout

Hello guys,

I have a problem of timeout for a complex command execution:

org.axonframework.commandhandling.CommandExecutionException(Cancelled by AxonServer due to timeout)

I do not know how to configure the timeout (for now, it won t be the final solution), could someone help?

Thanks,

Frederic Gendebien

Hi Frederic,

The default timeout for commands is 5 minutes. If this is not enough in your case you can increase it by setting the property:

axoniq.axonserver.default-command-timeout=<TimeInMillisecs>

in axonserver.properties for AxonServer.

Regards,
Marc