8 Replies Latest reply on May 10, 2012 5:33 PM by Clebert Suconic

    Check blocked messages before close session

    Adrien Ruffie Newbie

      I have a good question, before perform following line:








      One way to know if messages are waiting in a queue (blocked messages for example), and a way to force

      the sending/receving of the last messages present ?



      Other question:

      I use a MessageHandler and onMessage(), in previous method I'm forced to call clientSession.commit() and clientMessage.acknowledge() ?

      What commit() and acknowledge() really do ? And what the "in order to use" previous method can be served/used ?