Class RoutingKeyCommandTargetResolverDefinition

java.lang.Object
org.axonframework.modelling.entity.annotation.RoutingKeyCommandTargetResolverDefinition
All Implemented Interfaces:
CommandTargetResolverDefinition

public class RoutingKeyCommandTargetResolverDefinition extends Object implements CommandTargetResolverDefinition
Definition for creating CommandTargetResolver instances based on the routing key attribute.

The routing key of both the message and entity is determined by the attribute on the declaring member in the parent entity. The routing key of the message and of the entity are matched to determine if a child entity should handle a given message.

Since:
5.0.0
Author:
Mitchell Herrijgers
See Also: