Re: Netty Consumer is not able to process message sent from plain java socket client

2011-05-25 Thread Sachin
FYI I am already using LengthFieldPrepender for encoding which will add the length header to my messages, correct me i am wrong. And LengthFieldBasedFrameDecoder for decoding purpose. And i am not using any route fetaures of camel as of now, i am using only endpoints defined in camel-context.xml

Re: Netty Consumer is not able to process message sent from plain java socket client

2011-05-25 Thread Sachin
Hi, I debugged the netty source code and came to know while sending message from java client it causes problems in some decoding. It goes to decode method of LengthFieldBasedFrameDecoder class where the Frame length it fetched from Channel buffer exceeds the maxFrameLength, hence returning null. i