title: optimizeAcknowledge vs DUPS_OK_ACKNOWLEDGE
body: <p>Under the <code>optimizeAcknowledge</code> option on the ActiveMQ connection help page, it says this:</p>
  
  <p>"Alternatively, you could use Session.DUPS_OK_ACKNOWLEDGE acknowledgement mode for the consumers which can often be faster."</p>
  
  <p>I know both options allow you to send acknowledgements in batches, but are there any other differences?</p>
  
  <p>Source: <a href="http://activemq.apache.org/connection-configuration-uri.html" rel="nofollow">http://activemq.apache.org/connection-configuration-uri.html</a></p>