java.nio.channels.ClosedChannelException BayeuxRouter (Bayeux4Netty)

ILACBNIASW mathnoir at gmail.com
Mon Jul 25 21:35:44 EDT 2011


an apparent workaround is to change the last bit of public boolean
publish(BayeuxConnection publisher, DeliverEvent deliver) from:

for (BayeuxConnection connection : matchedConnections) 
{
            if (connection == publisher) {
                connection.putToDownstream(deliver);
            } else {
                connection.send(deliver);
            }
}

to:

for (BayeuxConnection connection : matchedConnections) 
{
  connection.putToDownstream(deliver);         
}

--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/java-nio-channels-ClosedChannelException-BayeuxRouter-Bayeux4Netty-tp6617293p6620734.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list