Skip to content

Introduce "FilteringSinkAdapter" in SQS integration #1373

@MatejNedic

Description

@MatejNedic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: sqsSQS integration related issuestatus: ideal-for-contributionWe agree it's nice to have but it is not team prioritytype: enhancementSmaller enhancement in existing integration

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions