3 Replies Latest reply on Jan 28, 2013 11:29 AM by Jeff Bride

    ack a consumed hornetq core message

    Jeff Bride Novice

      Hi,

        this post is in regards to the onMessage(....) function of the Hornetq InboundHandler.java

        when working with the Hornetq Core API, i'm pretty certain that the clientMessage.acknowledge() function needs to be explicity invoked

         otherwise, consumed messages are never ack'ed and flushed from the queue.

       

         ackBatchSize seems to take affect once consumed messages are explicity acknowledged

       

        i'm observering this behavior (consumed messages not being flushed from the queue) with Switchyard 0.7.0.Final layered in domain mode on EAP 6.0.1 (which uses Hornetq 2.2.23 )

       

       

      thanks!

      jeff