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, routingKeyannotationAttributes, attribute, canHandle, canHandleMessageType, canHandleType, declaringClass, handle, hasAnnotation, payloadType, priority, signature, unwrapboolean 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–2023. All rights reserved.