Class HandlerTimeoutHandlerEnhancerDefinition

java.lang.Object
org.axonframework.messaging.core.timeout.HandlerTimeoutHandlerEnhancerDefinition
All Implemented Interfaces:
HandlerEnhancerDefinition

public class HandlerTimeoutHandlerEnhancerDefinition extends Object implements HandlerEnhancerDefinition
Inspects message handler and wraps it in a TimeoutWrappedMessageHandlingMember if the handler should have a timeout.

The timeout is determined by the HandlerTimeoutConfiguration and the MessageHandlerTimeout annotation on the message handler method. The annotation takes precedence over the configuration.

Since:
4.11.0
Author:
Mitchell Herrijgers
See Also:
  • Constructor Details

  • Method Details