ssut / nestjs-sqs

A project to make SQS easier to use within NestJS, with decorator-based handling and seamless NestJS-way integration.
MIT License
214 stars 53 forks source link

How to deleting message from queue manually? #63

Open amtdevops opened 1 year ago

amtdevops commented 1 year ago

Can you please explain how we can delete messages manually? I went through the complete library code, but I didn't find any implementation for deleting the message from the SQS queue.

ssut commented 1 year ago

This library only provides a way to consume and produce SQS messages at this time. I will consider to implement the feature that we can access to the underlying SQS client. In the meanwhile, since you should provide a SQSClient, which @aws-sdk/client-sqs library has, you can do what you want to do with direct access of the client object.