T - The type of entity to which the message handler will delegate the actual handling of the commandpublic interface ForwardingCommandMessageHandlingMember<T>
extends org.axonframework.commandhandling.CommandMessageHandlingMember<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
canForward(org.axonframework.commandhandling.CommandMessage<?> message,
T target)
Check if this handler is in a state where it can currently accept the command.
|
boolean canForward(org.axonframework.commandhandling.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–2022. All rights reserved.