Infinite error loop on read time out.
infectedrhytms
infectedrhythms at hotmail.com
Thu May 6 08:21:41 EDT 2010
//It has already been processed, do not need to timeout again
@Override
public void messageReceived(ChannelHandlerContext ctx,
MessageEvent e)
{
Object message = e.getMessage();
logHelper.debug(message.getClass().toString());
if (message instanceof String)
{
if(((String)
message).length()>Constants.DefaultLengthHeader)
releaseExternalResources();
}
Channels.fireMessageReceived(ctx, message);
super.messageReceived(...); <---- Or super always is the first thing to call
at the top? Yes Kinda newish to JAVA too.
}
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Infinite-error-loop-on-read-time-out-tp5008996p5013883.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list