If you use ChannelOutboundHandlerAdapter and override the write(...) method you not need to retain the message. So I would do this.