1 Reply Latest reply on Sep 11, 2006 6:56 PM by Elias Ross

    Clean up queues

    Meinert Schwartau Newbie

      Hi!

      My software is tested with unit-tests. After each test, some queues are containing testmessages. I would like to delete these messages automatically after each test. Exist a way to do this?

      The javax.jms.Destination doesn't have a removeAllMessages method :-(.

      Thank you
      M. Schwartau