7 Replies Latest reply on Feb 10, 2009 11:51 AM by Tim Fox

    Paging, lastPageTransaction, and duplicate detection.

    Tim Fox Master

      AFAICT paging currently uses lastPageTransaction recorded in the journal to prevent pages being processed more than once in case of failure.

      This adds some complexity to paging.

      JBM now contains automatic duplicate detection functionality which is enabled by just adding a property MessageImpl.HDR_DUPLICATE_DETECTION_ID to the message.

      Any messages with the same value will be rejected.

      I am thinking that we can leverage this functionality in paging, which will allow us to remove all the lastPageTransaction stuff and make the code simpler.