T
- The type of entity to which the message handler will delegate the actual handling of the commandpublic interface ForwardingCommandMessageHandlingMember<T> extends CommandMessageHandlingMember<T>
Modifier and Type | Method and Description |
---|---|
boolean |
canForward(CommandMessage<?> message,
T target)
Check if this handler is in a state where it can currently accept the command.
|
commandName, isFactoryHandler, routingKey
annotationAttributes, attribute, canHandle, canHandleMessageType, canHandleType, declaringClass, handle, hasAnnotation, payloadType, priority, signature, unwrap
boolean canForward(CommandMessage<?> message, T target)
message
- The message that is to be forwardedtarget
- The target to forward the command messagetrue
if this handler can forward command to target entity, false
otherwise.Copyright © 2010–2024. All rights reserved.