Hi everyone,
I'm stumped by a particular issue I have with the netty component. My route
configuration is as follows
[..]
<from
uri="netty:tcp://0.0.0.0:5155allowDefaultCodec=false&decoderMaxLineLength=2048&disconnect=true&textline=true&delimiter=NULL&encoding=UTF8"
/>
<wireTap uri="bean:partnerRoute" />
<transform>
<constant>0</constant>
</transform>
[..]
It seems that the decoderMaxLineLength is ignored as I am getting these
exceptions
2011-01-12 15:33:15,636 98722 WARN [New I/O server worker #2-2]
[org.apache.camel.component.netty.handlers.ServerChannelHandler] (New I/O
server worker #2-2:) Closing channel as an exception was thrown from Netty
org.jboss.netty.handler.codec.frame.TooLongFrameException: frame length
exceeds 1024: 1921 - discarded
at
org.jboss.netty.handler.codec.frame.DelimiterBasedFrameDecoder.fail(DelimiterBasedFrameDecoder.java:214)[netty-3.2.2.Final.jar:]
at
org.jboss.netty.handler.codec.frame.DelimiterBasedFrameDecoder.decode(DelimiterBasedFrameDecoder.java:183)[netty-3.2.2.Final.jar:]
I am unsure if this is a bug, or I'm doing something silly in the netty
configuration line, so I would appreciate your comments very much,
Thank you,
Yiannis