title: How to set property 'x-message-ttl' for queue in java
body: <p>How to set 'x-message-ttl' properties to this queue?</p>
  <pre><code>rabbit:
              bindings:
                TEST_RESPONSE:
                  consumer:
                    bindingRoutingKey: &quot;'${routing}'&quot;
                    prefetch: ${prefetch}
                    acknowledge-mode: MANUAL
            bindings:
              TEST_RESPONSE:
                destination: TEST_RESPONSE
                content-type: application/json
                group: test
  </code></pre>
  <p>because a have this error</p>
  <pre><code>Channel shutdown: channel error; protocol method: #method&lt;channel.close&gt;(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'x-message-ttl' for queue 'TEST_RESPONSE.test' in vhost '/': received none but current is the value '60000' of type 'long', class-id=50, method-id=10)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/768rv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/768rv.png" alt="enter image description here" /></a></p>