Re: How to set receiveBufferSizePredictor option in Camel-netty udp consumer server?

2011-12-02 Thread geemang
Done! https://issues.apache.org/jira/browse/CAMEL-4737 This is my first patch hopefully I did it correctly. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-set-receiveBufferSizePredictor-option-in-Camel-netty-udp-consumer-server-tp3364136p5043162.html Sent from the Ca

Re: How to set receiveBufferSizePredictor option in Camel-netty udp consumer server?

2011-12-01 Thread geemang
I did a little experiment by adding private void initializeUDPServerSocketCommunicationLayer() throws Exception { ... connectionlessServerBootstrap.setOption("receiveBufferSizePredictorFactory", new FixedReceiveBufferSizePredictorFactory(1024)); ... } to the NettyConsumer.java class Which doe

Re: How to set receiveBufferSizePredictor option in Camel-netty udp consumer server?

2011-12-01 Thread geemang
I'm having the same problem, trying to receive messages that are over 768 in size. I found an article: http://massapi.com/class/org/jboss/netty/channel/socket/nio/NioDatagramChannelFactory.java.html that shows the setting I believe we need. Also I believe there is a ticket open for this: https://