Class HandleDocumentFilter

java.lang.Object
io.fluxzero.sdk.tracking.handling.HandleDocumentFilter

public class HandleDocumentFilter extends Object
A MessageFilter that routes DeserializingMessage instances to methods annotated with HandleDocument, based on the message's topic.

This filter checks if the target handler method is annotated with @HandleDocument, and if so, whether the resolved topic from the annotation matches the topic of the incoming message. If both conditions are met, the message will be considered eligible for handling by the method.

The resolved topic is derived using ClientUtils.getTopic(HandleDocument, Executable), which supports dynamic resolution based on annotation configuration and handler context.

See Also: