activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stephenju <>
Subject Re: ActiveMQ CPP: Getting text from a Text Message without making temporary
Date Mon, 13 Feb 2012 22:26:52 GMT
Just went through the source files and find it actually makes 4 copies of the

MarshallingSupport::readString32() makes 1 from the stream.
ActiveMQTextMessage::getText() then make another one to store in its data
member. Then it makes yet another one as return value. Finally, the
assignment in my code makes one for itself.

Maybe I count them wrong? :)

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message