Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-215

Eliminate the need to copy messages on MessageProducer send

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.0, 0.11.1
    • 0.20.0
    • qpid-jms-client
    • None

    Description

      There is currently a copy created of every outbound message on send, we can eliminate this by making it possible to do the message encoding on send and dispatching the encoded form.

      Attachments

        Activity

          Commit 657747b776fe60068b1bc51e8327f48e44d1e685 in qpid-jms's branch refs/heads/master from tabish121
          [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=657747b ]

          QPIDJMS-215 Perform Message encoding at send time

          Remove the need for message copying on send by doing encoding at the
          time the message is sent instead of copying and encoding the message
          later.

          jira-bot ASF subversion and git services added a comment - Commit 657747b776fe60068b1bc51e8327f48e44d1e685 in qpid-jms's branch refs/heads/master from tabish121 [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=657747b ] QPIDJMS-215 Perform Message encoding at send time Remove the need for message copying on send by doing encoding at the time the message is sent instead of copying and encoding the message later.

          Commit 4259990aaac6899d8843c78b9fe71e6e0a4a34ee in qpid-jms's branch refs/heads/master from Robert Gemmell
          [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=4259990 ]

          QPIDJMS-215: use StandardCharsets constant

          jira-bot ASF subversion and git services added a comment - Commit 4259990aaac6899d8843c78b9fe71e6e0a4a34ee in qpid-jms's branch refs/heads/master from Robert Gemmell [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=4259990 ] QPIDJMS-215 : use StandardCharsets constant

          Commit 7f8d10bf1047bbe4af3807c1884aa24124bb1a46 in qpid-jms's branch refs/heads/master from Robert Gemmell
          [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=7f8d10b ]

          QPIDJMS-215: avoid shadowing properties, rename headers too for clarity

          jira-bot ASF subversion and git services added a comment - Commit 7f8d10bf1047bbe4af3807c1884aa24124bb1a46 in qpid-jms's branch refs/heads/master from Robert Gemmell [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=7f8d10b ] QPIDJMS-215 : avoid shadowing properties, rename headers too for clarity

          Commit 89f39f1f7537b9d6dee69be23801f7786033428a in qpid-jms's branch refs/heads/master from tabish121
          [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=89f39f1 ]

          QPIDJMS-215 Fix codec causing duplicate type wrapper creation

          When the message is encoded the codec needs to get the wrapper Message
          types only once to avoid created unnecessary garbage.

          jira-bot ASF subversion and git services added a comment - Commit 89f39f1f7537b9d6dee69be23801f7786033428a in qpid-jms's branch refs/heads/master from tabish121 [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=89f39f1 ] QPIDJMS-215 Fix codec causing duplicate type wrapper creation When the message is encoded the codec needs to get the wrapper Message types only once to avoid created unnecessary garbage.

          Commit 593b3e7f5befbc73621273012f4877ee2ab5225d in qpid-jms's branch refs/heads/master from tabish121
          [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=593b3e7 ]

          QPIDJMS-215 Writable Buffer does report true capacity

          Fix the writable buffer to report the remaining and hasRemaining values
          using the maxCapacity value of the ByteBuf, otherwise the the true value
          is under reported.

          jira-bot ASF subversion and git services added a comment - Commit 593b3e7f5befbc73621273012f4877ee2ab5225d in qpid-jms's branch refs/heads/master from tabish121 [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=593b3e7 ] QPIDJMS-215 Writable Buffer does report true capacity Fix the writable buffer to report the remaining and hasRemaining values using the maxCapacity value of the ByteBuf, otherwise the the true value is under reported.

          Commit aa6266d2f3ea92b69d0f3335ceb58ff8d81a3857 in qpid-jms's branch refs/heads/master from tabish121
          [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=aa6266d ]

          QPIDJMS-215 Copy message on non-completion async sends

          In order to allow reuse of Messages after a JMS 1.1 style send which
          sends the message asynchronously the original message needs to be copied
          so that the original can be restored to a non-readonly state when send
          returns.

          jira-bot ASF subversion and git services added a comment - Commit aa6266d2f3ea92b69d0f3335ceb58ff8d81a3857 in qpid-jms's branch refs/heads/master from tabish121 [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=aa6266d ] QPIDJMS-215 Copy message on non-completion async sends In order to allow reuse of Messages after a JMS 1.1 style send which sends the message asynchronously the original message needs to be copied so that the original can be restored to a non-readonly state when send returns.

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: