#44 MessageBrokerPMF should clean up old PendingRequests

closed
Marco Schulze
9
2011-06-28
2011-05-26
Marco Schulze
No

It might happen that a PendingRequest is not answered and orphans in the database. This class already has a lastStatusChangedTimestamp and we should periodically query old instances (e.g. timestamp not changed for an hour) and delete them.

Discussion

  • Marco Schulze
    Marco Schulze
    2011-05-26

    • priority: 5 --> 9
     
  • Marco Schulze
    Marco Schulze
    2011-05-26

    • summary: MessageBrokerPMF should clean-up old PendingRequests --> MessageBrokerPMF should clean up old PendingRequests
     
  • Marco Schulze
    Marco Schulze
    2011-06-22

    • priority: 9 --> 8
     
  • Marco Schulze
    Marco Schulze
    2011-06-28

    • priority: 8 --> 9
     
  • Marco Schulze
    Marco Schulze
    2011-06-28

    • status: open --> closed
     
  • Marco Schulze
    Marco Schulze
    2011-06-28

    There are now system-properties to control the behaviour and a timer which removes expired entries by default once per hour (it's not necessary to do things more often, as most entries should be removed cleanly - only if the JVM crashes, entries might become orphans).