bbc / sqs-consumer

Build Amazon Simple Queue Service (SQS) based applications without the boilerplate
https://bbc.github.io/sqs-consumer/
Other
1.74k stars 333 forks source link

Possible to get a message's Receive/Read Count? #293

Closed dsuraj72 closed 2 years ago

dsuraj72 commented 2 years ago

Hi,

Is it possible to get a message's Receive/Read Count from handleMessage or any events of consumer?

Thanks

dsuraj72 commented 2 years ago

attributeNames: ['ApproximateReceiveCount'] solved the problem.

Closing.