io.netty.channel.ChannelPipelineException: com.yu.netty_esb.ServerHandler.RecvXmlHandler is not a @Sharable handler, so can't be added or removed multiple times.
写了一个netty服务端,从客户端发报文,第一次成功,当第二次在发送报文时报

解决办法,在handler加@Sharable
写了一个netty服务端,从客户端发报文,第一次成功,当第二次在发送报文时报

解决办法,在handler加@Sharable