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

Clean up the usage of Symbol type and conversion to Symbol from String

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.37.0
    • 0.38.0
    • qpid-jms-client
    • None

    Description

      The code currently does a lot more work than needed on each send converting from String values into Symbol types to fill in the proton-j message structure prior to encoding. We can now keep all our commonly used values in static proton-j Symbol instances and request the cached String view that each now maintains when we need a String representation. The current proton-j API make this need for String less relevant that it once was so our overhead on send can be significantly reduced with minimal changes.

      Attachments

        Activity

          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: