Introduce "FilteringSinkAdapter" in SQS integration #1373
Labels
component: sqs
SQS integration related issue
status: ideal-for-contribution
We agree it's nice to have but it is not team priority
type: enhancement
Smaller enhancement in existing integration
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 inFilteringSinkAdapter
.This way our integration would provide users a clean way to filter and choose which message is processed and which is not.
The text was updated successfully, but these errors were encountered: