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.

if (frameLength > maxFrameLength) {
            // Enter the discard mode and discard everything received so
far.
            discardingTooLongFrame = true;
            tooLongFrameLength = frameLength;
            bytesToDiscard = frameLength - buffer.readableBytes();
            buffer.skipBytes(buffer.readableBytes());
            return null;
        }

As i am sending simple xml message in byte form, which decoder i should use.
Please guide me.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Netty-Consumer-is-not-able-to-process-message-sent-from-plain-java-socket-client-tp4422177p4424995.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to