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/17 17:01:00 UTC

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

     [ https://issues.apache.org/jira/browse/QPIDJMS-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved QPIDJMS-418.
----------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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