1 Reply Latest reply on Jan 6, 2009 7:13 PM by trustin

    Commented out code in org.jboss.messaging.integration.transp

    timfox

       

       // This block has been disabled because this method can be called from
       // the Netty I/O thread.
       // TODO Netty should be improved to provide a way to determine
       // if the current code is running in the I/O thread.
       //
       // if (channel.getParent() == null) {
       // // A client channel - wait until everything is cleaned up.
       // // TODO Do not spin - use signal.
       // MessagingChannelHandler handler = (MessagingChannelHandler) channel.getPipeline().get("handler");
       // while (handler.active) {
       // Thread.yield();
       // }
       // }
      


      Does anyone (trustin?) know if the comment still applies? Does netty need to be changed? can the comment be deleted? etc