Hi,
I am using netty to send a request over a TCP socket. When I send the request I
need to send 4 bytes length of the message and then followed by an
XML payload. On response I am getting 4 bytes length and then XML payload. Now
I wrote a client code to connect the camel route and sending messa
if i use registry.put("myDecoder", new MyDecoder);
And then I also need to use the beans configure file?
--
View this message in context:
http://camel.465427.n5.nabble.com/Netty-for-TCP-communication-tp3409969p5107705.html
Sent from the Camel - Users mailing list archive at Nabble.com.
n by Camel API
only).
SimpleRegistry registry = new SimpleRegistry();
registry.put("myDecoder", new MyDecoder);
CamelContext context = new DefaultCamelContext(registry);
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Netty-for-TCP-communication-tp3409
ly. how to ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Netty-for-TCP-communication-tp3409969p5106449.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
--
FuseSource
Web: http://www.fusesource.com
Blo
ing msg = new String(decoded);//(4)
> return msg;
> }
> }
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Netty-for-TCP-communication-tp3409969p5105286.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus I
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/Netty-for-TCP-communication-tp3409969p5105286.html
Sent from the Camel - Users mailing list archive at Nabble.com.
endpoint like you had mentioned.
--
View this message in context:
http://camel.465427.n5.nabble.com/Netty-for-TCP-communication-tp3409969p3413344.html
Sent from the Camel - Users mailing list archive at Nabble.com.
th 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
dian 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.