title: Dead letter strategy - ActiveMQ Artemis
body: <p>I am designing a mechanism to handle a message when it is not received by the consumer.</p>
  <p>I use ActiveMQ Artemis. I want to configure the broker in such a way that when messages fail to deliver several times they go to DLQ like in <a href="https://activemq.apache.org/components/artemis/documentation/latest/undelivered-messages.html" rel="nofollow noreferrer">this documentation</a>. After unsuccessful attempts, messages will be thrown into my own DLQ address, but here my question arises.</p>
  <p>I want the message to be sent back in the initial queue after 5 minutes. Message redirection is not really a problem, it is mentioned in <a href="https://activemq.apache.org/components/artemis/documentation/latest/diverts.html" rel="nofollow noreferrer">the documentation</a>.</p>
  <p>But how can I set the message to be sent with a 5 minute delay? I see that there is such a possibility in <a href="https://activemq.apache.org/components/artemis/documentation/latest/scheduled-messages.html" rel="nofollow noreferrer">this documentation</a>, but it is supported from the application level and I would like to set it from <code>broker.xml</code>.</p>