activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gemmellr <>
Subject [GitHub] activemq-artemis pull request #2274: ARTEMIS-2059 NettyWritable should use U...
Date Thu, 30 Aug 2018 15:20:27 GMT
Github user gemmellr commented on a diff in the pull request:
    --- Diff: artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/util/
    @@ -106,7 +105,8 @@ public void put(ByteBuf payload) {
        public void put(String value) {
    -      nettyBuffer.writeCharSequence(value, StandardCharsets.UTF_8);
    --- End diff --
    Any string encoded by proton-j will use the method. The broker tries not to encode things
for AMQP->AMQP cases however so a lot of the time it wont be used at all. The rest of the
time, it is specifically using an expanding buffer as it doesn't know the size of whats being


View raw message