ClusterSelector implementation that chooses a Cluster based on whether the Listener's Class Name matches a given Pattern.
The given pattern must match the entire class name, not just part of it.
Note that the name of the class used is the name of the class implementing the
EventListener
interface. If a listener implements the
EventListenerProxy
interface, the value of the {@link org.axonframework.eventhandling.EventListenerProxy#getTargetType()} is used. Annotated Event Listeners will alwayshave the actual annotated class name used.
@author Allard Buijze
@since 2.0