Re: Netty and requestTimeout

2013-09-11 Thread Claus Ibsen
Hi Logged a ticket to fix this https://issues.apache.org/jira/browse/CAMEL-6730 On Tue, Sep 3, 2013 at 9:22 AM, Claus Ibsen wrote: > Hi > > Yeah removing the timeout handler is a good idea. And we love > contributions, so feel free to log a JIRA and attach a patch. > http://camel.apache.org/cont

Re: Netty and requestTimeout

2013-09-03 Thread Claus Ibsen
Hi Yeah removing the timeout handler is a good idea. And we love contributions, so feel free to log a JIRA and attach a patch. http://camel.apache.org/contributing.html On Mon, Sep 2, 2013 at 10:05 PM, fbarbat wrote: > As a workaround, I implemented a handler which modifies the pipeline on every

Re: Netty and requestTimeout

2013-09-02 Thread fbarbat
As a workaround, I implemented a handler which modifies the pipeline on every request so the ReadTimeoutHandler is removed once the response is read. Specifically, a CamelRequestTimeoutHandler is inserted before Camel's ClientChannelHandler. My handler inserts a ReadTimeoutHandler on write and remo

Re: Netty and requestTimeout

2013-09-02 Thread fbarbat
Sorry, I forgot to mention I'm using 2.11.1 -- View this message in context: http://camel.465427.n5.nabble.com/Netty-and-requestTimeout-tp5738341p5738534.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Netty and requestTimeout

2013-09-02 Thread fbarbat
Hi, This test reproduces the exception. The System.in.read() at the end is just to wait for the exception to appear. Any ideas? Thanks. package camel.test; import java.io.IOException; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.test.junit4.CamelTestSupport; import org

Re: Netty and requestTimeout

2013-08-30 Thread Claus Ibsen
Hi What version of Camel do you use? And can you show us the netty uri you use that causes the reques timeout? On Sat, Aug 31, 2013 at 1:00 AM, fbarbat wrote: > Hi, > > I'm having problems with requestTimeout on a Netty component. A > NullPointerException raises when camel tries to get UnitOfWor

Re: Netty and requestTimeout

2013-08-30 Thread fbarbat
I forgot to mention I'm using persistent connections with this producer. -- View this message in context: http://camel.465427.n5.nabble.com/Netty-and-requestTimeout-tp5738341p5738342.html Sent from the Camel - Users mailing list archive at Nabble.com.