Hi - I am using netty to send a request over a TCP socket. When I send the request I need to send 2 bytes lengh of the message and then followed by an XML payload. On response I am getting 2 bytes length and then XML payload. I am assuming that I need to write a custom codec for it. Can someone give me some pointer / sample code example. I am using netty in conjunction with Apache Camel.
I am using this as in my route : netty:tcp://host:port/?sync=true&textline=true I am adding 2 bytes length by hand to the message payload. Using ByteBuffer. I need to send using Big Endian network byte order. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Netty-for-TCP-communication-tp3409969p3409969.html Sent from the Camel - Users mailing list archive at Nabble.com.
