7 Replies Latest reply on Jun 26, 2011 11:19 AM by george pitich

    ack messages individually

    george pitich Newbie

      hi everyone,

       

      is it possible to ack messages in a queue individually eventhough they are of same priority? i'd like to be able to consume messages from the queue in some random orther. tried playing with setAckBatchSize but it would always ack batch of messages if i tried to consume messages that are not at queue head.

       

      serverLocator.setAckBatchSize(1);

      factory.createSession(user, password, false, true, true, false, 1);

       

      thanks.