camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geemang <martin....@geefamilyusa.com>
Subject Re: How to set receiveBufferSizePredictor option in Camel-netty udp consumer server?
Date Fri, 02 Dec 2011 01:27:02 GMT
I did a little experiment by adding

   private void initializeUDPServerSocketCommunicationLayer() throws
Exception {
...

connectionlessServerBootstrap.setOption("receiveBufferSizePredictorFactory",
new FixedReceiveBufferSizePredictorFactory(1024));
...
}
to the NettyConsumer.java class

Which does the trick.   Can we request a URI for this???



 

--
View this message in context: http://camel.465427.n5.nabble.com/How-to-set-receiveBufferSizePredictor-option-in-Camel-netty-udp-consumer-server-tp3364136p5040377.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message