activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMQ-4180) Use hawtbuf in activemq-client to make message properties and MapMessage body unmarshal more lazy
Date Fri, 16 Nov 2012 21:37:13 GMT

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

Timothy Bish resolved AMQ-4180.
-------------------------------

    Resolution: Fixed

changes added to trunk.
                
> Use hawtbuf in activemq-client to make message properties and MapMessage body unmarshal
more lazy
> -------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4180
>                 URL: https://issues.apache.org/jira/browse/AMQ-4180
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>    Affects Versions: 5.8.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Trivial
>             Fix For: 5.8.0
>
>
> Message properties and MapMessage body already use a lazy unmarshal strategy.  We can
use hawtbuf UTF8Buffer objects to unmarshal the bytes of a string properties or map value
and only do the UTF-8 decode back to a String instance when needed.  In some contrived test
cases I was able to get an extra 100 msgs/sec through my consumers when they only read out
a portion of the payload of large MapMessage instance. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message