2 Replies Latest reply on Sep 3, 2008 4:42 PM by whafrog

    Auto-delete unretreived messages?

    whafrog

      Is there a way to configure hypersonic database to automatically delete messages from a queue after a given time period? I'm using JBoss 4.2.0.

      I have a service app which receives messages from a web application. The person triggering the event (who could be anyone on the 'net, so there is no login or user tracking) may browse away from the page that is polling for results, as a result I get a steady accumulation of old messages which will never be picked up.

      I could write a queue browser to handle periodic maintenance manually, but I'd rather it be automatic if possible. None of the settings in the localDB.script, localDB.properties, etc seem to handle this.

      TIA,

      Jon