<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by MOHAMMAD WASEEM (HIGHTECENGINEER) on Medium]]></title>
        <description><![CDATA[Stories by MOHAMMAD WASEEM (HIGHTECENGINEER) on Medium]]></description>
        <link>https://medium.com/@waseemmohammad100?source=rss-29439ae3e37b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*74bPV90eWRT2VVKpryAeFw.png</url>
            <title>Stories by MOHAMMAD WASEEM (HIGHTECENGINEER) on Medium</title>
            <link>https://medium.com/@waseemmohammad100?source=rss-29439ae3e37b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:14:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@waseemmohammad100/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to make a processed SQS message visible in the Queue again after being processed by Lambda?]]></title>
            <link>https://towardsaws.com/how-to-make-processed-sqs-message-visible-in-queue-after-processing-by-lambda-3d5fb8170daf?source=rss-29439ae3e37b------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d5fb8170daf</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[sqs-lambda]]></category>
            <dc:creator><![CDATA[MOHAMMAD WASEEM (HIGHTECENGINEER)]]></dc:creator>
            <pubDate>Wed, 08 Sep 2021 22:00:48 GMT</pubDate>
            <atom:updated>2022-12-07T03:22:25.889Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*7RSejLQaB-h5EgLnBTnvcg.png" /></figure><blockquote>Have you ever needed to process a message received to a queue by a lambda again? If the answer is “Yes”.</blockquote><p>Then Need to throw an error from the lambda, which will make a message reappear on SQS. This process will continue until the message gets removed from the queue manually or reaches its <strong><em>message retention period</em></strong>.</p><pre>exports.handler = async (event) =&gt; {<br>    console.log(&#39;event&#39;, event);<br>    throw new Error(&#39;retry check&#39;);<br>};</pre><blockquote>What if you want to retry it a<strong><em> </em>fixed number of times</strong>?</blockquote><p>Sometimes need to retry only a specific number of times, and if can’t process it, remove it from the source queue automatically. Then need to enable a dead letter queue to the source queue (queue initially message received) and set up the <strong><em>maximum receives</em></strong><a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-dead-letter-queue.html">¹</a> equal to the retry count or number of times needed to make it reprocess (Figure 1).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GxT8_F65Kq-96g3SbXS8-w.png" /><figcaption>Figure 1. Setting up maximum receives count for Dead Letter Queues.</figcaption></figure><figure><a href="https://www.buymeacoffee.com/hightecengineer"><img alt="Buy me a coffee" src="https://cdn-images-1.medium.com/max/283/1*VwuR91-b8NzmBU1Djl84-Q.png" /></a></figure><p><strong>[1] </strong><a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-dead-letter-queue.html">https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-dead-letter-queue.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d5fb8170daf" width="1" height="1" alt=""><hr><p><a href="https://towardsaws.com/how-to-make-processed-sqs-message-visible-in-queue-after-processing-by-lambda-3d5fb8170daf">How to make a processed SQS message visible in the Queue again after being processed by Lambda?</a> was originally published in <a href="https://towardsaws.com/">Towards AWS</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>