prepare for reactor-netty 0.6.1.RELEASE

This commit is contained in:
Stephane Maldini 2017-02-21 16:00:19 +00:00
parent 6242e30539
commit ba97432043
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ public class ReactorNettyTcpClient<P> implements TcpOperations<P> {
TcpConnection<P> connection = new ReactorNettyTcpConnection<>(inbound, outbound, codec, completion);
scheduler.schedule(() -> connectionHandler.afterConnected(connection));
inbound.context().addDecoder(new StompMessageDecoder<>(codec));
inbound.context().addHandler(new StompMessageDecoder<>(codec));
inbound.receiveObject()
.cast(Message.class)