T- The type of entity to which the message handler will delegate the actual handling of the command
public interface ForwardingCommandMessageHandlingMember<T> extends CommandMessageHandlingMember<T>
|Modifier and Type||Method and Description|
Check if this handler is in a state where it can currently accept the command.
commandName, isFactoryHandler, routingKey
boolean canForward(CommandMessage<?> message, T target)
message- The message that is to be forwarded
target- The target to forward the command message
trueif this handler can forward command to target entity,
Copyright © 2010–2023. All rights reserved.