You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2019/06/19 18:39:19 UTC

[GitHub] [activemq-website] tabish121 commented on a change in pull request #11: Update 'how-do-i-unack-the-message-with-stomp.md': Stomp 1.1

tabish121 commented on a change in pull request #11: Update 'how-do-i-unack-the-message-with-stomp.md': Stomp 1.1
URL: https://github.com/apache/activemq-website/pull/11#discussion_r295449282
 
 

 ##########
 File path: src/how-do-i-unack-the-message-with-stomp.md
 ##########
 @@ -8,7 +8,21 @@ type: activemq5
  [FAQ](faq) > [Using Apache ActiveMQ](using-apache-activemq) > [How do I unack the message with Stomp](how-do-i-unack-the-message-with-stomp)
 
 
-There is no explicit "unack" command in Stomp. Once the client receives the message it cannot be marked as "unconsumed" and sent to another subscriber (or redelivered to the same subscriber again). It's up to your application (or Stomp client) to handle failed processing of received messages and implement "message redelivery".
+Since ActiveMQ 5.6.0
+--------------------
+
+Since version 5.6.0 ActiveMQ supports Stomp 1.1, which added an UNACK frame. This can be used to tell the server that the client could not consume the message.
+
+If ActiveMQ receives a NACK frame, then by default if the message is persistent it places it into the DLQ. If it isn't, nothing happens.
 
 Review comment:
   You should also point out that this only applies if the ACK mode is something other than auto which consumes them on dispatch to the client.  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services