title: When a message being sent to DLQ
body: <p>I'm trying to understand when and by what trigger exactly message can be thrown to DLQ.</p>
  <p>For example, there is a schema below, where <strong>SNS</strong> produces messages into <strong>SQS</strong> and some <strong>Spring Service</strong> consumes this SQS.</p>
  <p><a href="https://i.stack.imgur.com/e9Ttjl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e9Ttjl.png" alt="Simple SQS pattern" /></a></p>
  <p>If we attach <strong>DLQ</strong> to the <strong>Main queue</strong>, we can configure <code>Maximum receives</code> parameter (depicted below). I don't get it from documentation, if, for example, <code>Maximum receives</code> equals to 1, and <strong>Spring Service</strong> makes an attempt to consume a message from the SQS and fails for some reason after the very first attempt, that message will go into DLQ, right?</p>
  <p>And so, if we want to give the <strong>Spring Service</strong> a few more attempts for consumption a message we need to increase <code>Maximum receives</code> parameter? </p>
  <p><a href="https://i.stack.imgur.com/wYyi3l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wYyi3l.png" alt="DLQ settings" /></a></p>