Class SequenceNumberParameterResolverFactory

java.lang.Object
org.axonframework.messaging.core.annotation.AbstractAnnotatedParameterResolverFactory<SequenceNumber,Long>
org.axonframework.messaging.eventhandling.annotation.SequenceNumberParameterResolverFactory
All Implemented Interfaces:
ParameterResolverFactory

public final class SequenceNumberParameterResolverFactory extends AbstractAnnotatedParameterResolverFactory<SequenceNumber,Long>
An extension of the AbstractAnnotatedParameterResolverFactory that accepts parameters of a Long type annotated with the SequenceNumber annotation and assigns the sequenceNumber of the DomainEventMessage.

Primitive long parameters are also supported.

Since:
2.1.0
Author:
Mark Ingram