Hi, 

I have my program set up, it runs fine, the output appears to be correct,
but in the "catalina.out" log there is the following error and I don't know
why: 

 org.apache.camel.component.netty.handlers.ServerChannelHandler
exceptionCaught
WARNING: Closing channel as an exception was thrown from Netty
java.nio.channels.ClosedChannelException
        at
org.jboss.netty.channel.socket.nio.NioWorker.cleanUpWriteBuffer(NioWorker.java:636)
        at
org.jboss.netty.channel.socket.nio.NioWorker.writeFromUserCode(NioWorker.java:369)
        at
org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:137)
        at
org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:76)
        at org.jboss.netty.channel.Channels.write(Channels.java:632)
        at
org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:70)

The camel code is the following:

<camel:route>
                <camel:from uri="netty:tcp://0.0.0.0:8282?textline=true"/>
                <camel:pipeline>
                        <bean ref="processor"/>
                        <camel:convertBodyTo type="java.lang.String"/>
                                
                       <camel:filter>
                                <simple>${in.header.h1} == 'nagiosON'</simple>  
                        
                                <camel:to
uri="nagios://nagServer:5667?nagiosSettings=#nSettings" />
                       </camel:filter>

               </camel:pipeline>
</camel:route> 

Could you give me a hint as to how to clear the Exception ? 


Thanks,
Tereza

--
View this message in context: 
http://camel.465427.n5.nabble.com/Netty-closedChannelException-tp4736255p4736255.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to