Qpid
  1. Qpid
  2. QPID-3884

Batch acknowledgements for XA transactions until end()

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.14
    • Fix Version/s: 0.17
    • Component/s: Java Client
    • Labels:
      None

      Description

      The XASessionImpl uses AUTO_ACK for the underlying JMS Session.
      Due to recent changes we ack each message synchronously, which is quite slow.

      However in a transaction we don't need to ack these messages individually instead it can be done when we end the XA transaction.

      1. async_ack.patch
        2 kB
        Rajith Attapattu
      2. async_ack.patch
        2 kB
        Kevin Conner

        Activity

        Hide
        Rajith Attapattu added a comment -

        Attaching a patch by Kevin Conner.
        The patch basically batches the acks instead of acking them individually.

        These then gets flushed when the end() in XAResourceImpl.java is called.

        Show
        Rajith Attapattu added a comment - Attaching a patch by Kevin Conner. The patch basically batches the acks instead of acking them individually. These then gets flushed when the end() in XAResourceImpl.java is called.
        Hide
        Rajith Attapattu added a comment -

        Patch applied to trunk

        Show
        Rajith Attapattu added a comment - Patch applied to trunk

          People

          • Assignee:
            Rajith Attapattu
            Reporter:
            Rajith Attapattu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development