Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
5.8.0
-
None
Description
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.