Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3884

Batch acknowledgements for XA transactions until end()

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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 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 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 Rajith Attapattu added a comment -

        Patch applied to trunk

        Show
        rajith Rajith Attapattu added a comment - Patch applied to trunk

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development