This closes #2269
This commit is contained in:
commit
e0a2714512
|
@ -17,6 +17,7 @@
|
|||
package org.apache.activemq.artemis.protocol.amqp.util;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
||||
import org.apache.qpid.proton.codec.ReadableBuffer;
|
||||
import org.apache.qpid.proton.codec.WritableBuffer;
|
||||
|
@ -103,6 +104,11 @@ public class NettyWritable implements WritableBuffer {
|
|||
nettyBuffer.writeBytes(payload);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void put(String value) {
|
||||
nettyBuffer.writeCharSequence(value, StandardCharsets.UTF_8);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int limit() {
|
||||
return nettyBuffer.capacity();
|
||||
|
|
7
pom.xml
7
pom.xml
|
@ -91,11 +91,12 @@
|
|||
<jgroups.version>3.6.13.Final</jgroups.version>
|
||||
<maven.assembly.plugin.version>2.4</maven.assembly.plugin.version>
|
||||
<mockito.version>2.8.47</mockito.version>
|
||||
<netty.version>4.1.24.Final</netty.version>
|
||||
<proton.version>0.27.3</proton.version>
|
||||
<netty.version>4.1.28.Final</netty.version>
|
||||
<netty-tcnative-version>2.0.12.Final</netty-tcnative-version>
|
||||
<proton.version>0.29.0</proton.version>
|
||||
<resteasy.version>3.0.19.Final</resteasy.version>
|
||||
<slf4j.version>1.7.21</slf4j.version>
|
||||
<qpid.jms.version>0.33.0</qpid.jms.version>
|
||||
<qpid.jms.version>0.36.0</qpid.jms.version>
|
||||
<johnzon.version>0.9.5</johnzon.version>
|
||||
<json-p.spec.version>1.0-alpha-1</json-p.spec.version>
|
||||
<javax.inject.version>1</javax.inject.version>
|
||||
|
|
|
@ -163,7 +163,7 @@
|
|||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-tcnative-boringssl-static</artifactId>
|
||||
<version>2.0.7.Final</version>
|
||||
<version>${netty-tcnative-version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
|
|
Loading…
Reference in New Issue