Open
Description
Sometimes when using @SqsListener()
I would like to filter the messages before entering the method.
Good example is when messages have ttl (Time-to-live) or when we are no longer interested in certain events due business logic. Instead of polluting and replicating this logic every time in @SqsListener()
it would be better if we could extract it outside in FilteringSinkAdapter
.
This way our integration would provide users a clean way to filter and choose which message is processed and which is not.