1 Reply Latest reply on Apr 22, 2010 3:45 AM by Andy Taylor

    negative MessageCount

    marc aylesworth Newbie

      What does a negative MesseCount indicate, I have Hornetq running in JBoss 5.1 GA. I connect with multiple producers and consumers to a JMS queue, pause the consumers by putting in a loop that sleeps for 500ms. producer sends 1000 messeges reume consumer by ending loop. I end up with over 5000 messeges delivered and a negative ~3000 messageCount. What is going on. Should I have one Session for each consumer? One Session for all the consumers? What is a good strategy to get only one delivery for each message after pausing delivery and allowing messages to back up in the queue?

       

       

       

      Sorry, reposted on the User forum!