5 Replies Latest reply on Jun 26, 2014 2:30 PM by Adam Warski

    Slow asynchronous acknowledgments

    Adam Warski Master



      I'm trying to run some performance tests of HornetQ, and I want to send messages in batches, and then wait for an acknowledgment for the whole batch. However big the batch is (I tried 1-10000 messages), getting back acknowledgments takes about 2 seconds. Isn't it a lot as for a server which is located on localhost?


      I'm using a non-transacted session, the code is here: https://gist.github.com/adamw/8eebb453e368a9bf079d


      Am I doing something wrong, or is it working as expected?