java.lang.Object
io.fluxzero.sdk.tracking.handling.HandleCustomFilter
- All Implemented Interfaces:
io.fluxzero.common.handling.MessageFilter<DeserializingMessage>
public class HandleCustomFilter
extends Object
implements io.fluxzero.common.handling.MessageFilter<DeserializingMessage>
A
MessageFilter implementation that filters DeserializingMessage instances
based on a custom topic defined in the HandleCustom annotation on handler methods.
This filter ensures that a message is only routed to handler methods annotated with
@HandleCustom if the topic of the message matches the value defined in the annotation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(DeserializingMessage message, Executable executable, Class<? extends Annotation> handlerAnnotation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxzero.common.handling.MessageFilter
and, getLeastSpecificAllowedClass
-
Constructor Details
-
HandleCustomFilter
public HandleCustomFilter()
-
-
Method Details
-
test
public boolean test(DeserializingMessage message, Executable executable, Class<? extends Annotation> handlerAnnotation) - Specified by:
testin interfaceio.fluxzero.common.handling.MessageFilter<DeserializingMessage>
-