You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2018/10/16 19:10:00 UTC

[jira] [Created] (QPIDJMS-418) Clean up the usage of Symbol type and conversion to Symbol from String

Timothy Bish created QPIDJMS-418:
------------------------------------

             Summary: Clean up the usage of Symbol type and conversion to Symbol from String
                 Key: QPIDJMS-418
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-418
             Project: Qpid JMS
          Issue Type: Improvement
          Components: qpid-jms-client
    Affects Versions: 0.37.0
            Reporter: Timothy Bish
            Assignee: Timothy Bish
             Fix For: 0.38.0


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org