3 Replies Latest reply on Apr 21, 2004 9:56 AM by Adrian Brock

    Using CLIENT_ACKNOWLEDGE does not seem to work

    Brian H. Mayo Newbie

      I tried reading the documentation and this forum but I could not find my answer.

      The question is: Does CLIENT_ACKNOWLEDGE work when setting up a client to read messages from a queue? From my testing, it does not work, but I could be doing something wrong.

      Snipped of my code:

      queueSession = queueConnection.createQueueSession(false, Session.CLIENT_ACKNOWLEDGE);


      { textListener implements MessageListener with an onMessage method.
      In the onMessage method is where I message.acknowledge or not }