Timothy Bish created AMQ-4180:
---------------------------------

             Summary: 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

Reply via email to