public class SagaMethodMessageHandlerDefinition extends Object implements HandlerEnhancerDefinition
Constructor and Description |
---|
SagaMethodMessageHandlerDefinition()
Constructs a default
SagaMethodMessageHandlerDefinition . |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
wrapHandler(MessageHandlingMember<T> original)
Enhance the given
original handler. |
public SagaMethodMessageHandlerDefinition()
SagaMethodMessageHandlerDefinition
.public <T> MessageHandlingMember<T> wrapHandler(MessageHandlingMember<T> original)
HandlerEnhancerDefinition
original
handler. Implementations may return the original message handler.wrapHandler
in interface HandlerEnhancerDefinition
T
- The type of object that will perform the actual handling of the messageoriginal
- The original message handlerCopyright © 2010–2022. All rights reserved.