Class AxonTimeoutAutoConfiguration

java.lang.Object
org.axonframework.extension.springboot.autoconfig.AxonTimeoutAutoConfiguration

@AutoConfiguration @EnableConfigurationProperties(TimeoutProperties.class) public class AxonTimeoutAutoConfiguration extends Object
Translates TimeoutProperties into the HandlerTimeoutConfiguration and TimeoutUnitOfWorkFactoryConfiguration components that drive the timeout behavior.

The actual wiring of the timeout behavior, wrapping message handlers with a timeout, and decorating the UnitOfWorkFactory used by the command bus, query bus, and every event processor so every UnitOfWork they create is time-limited, is done by the HandlerTimeoutConfigurationEnhancer and TimeoutUnitOfWorkFactoryConfigurationEnhancer.

Since:
4.11.0
Author:
Mitchell Herrijgers, Steven van Beelen