11 Replies Latest reply on Mar 12, 2015 5:35 PM by Kevin Scott

    What is the proper way to acknowledge a message in a REST Push Consumer?

    Kevin Scott Newbie

      I have a REST API that is accepting messages from a HornetQ via a Push configuration.  Everything is working great, except that the messages are not getting acknowledged and so they continue to show in the Delivering Count field on the queue and eventually cause new messages to block (once the queue fills).  My question is what is the proper way to acknowledge this messages?  I looked through the documentation and see that if you are doing a pull consumer there is a header that gives an address to send acknowledges, but I do not see that header on the messages I am getting from hornet.  Currently, my API is responding with just an HTTP 200, is there another code that could be used to indicate a successful message?