You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by kiranreddykasa <ki...@fss.co.in> on 2013/06/11 18:50:37 UTC

camel netty deadlock

Hi 

I m getting the following exception when trying to use more than two netty
endpoints in a single route.

java.lang.IllegalStateException: await*() in I/O thread causes a dead lock
or sudden performance drop. Use addListener() instead or call await*() from
a different thread.

Sample route :

                                from("netty:tcp://localhost:7000?textline")
				.bean(DummyProcessor.class)
				.to("netty:tcp://localhost:7001?textline=true")
				.bean(DummyProcessor.class)
				.to("netty:tcp://localhost:7002?textline=true")
				.bean(DummyProcessor.class)
				.to("netty:tcp://localhost:7003?textline=true")
				.bean(DummyProcessor.class)
				.to("netty:tcp://localhost:7004?textline=true")
				.bean(DummyProcessor.class);

camel version : 2.11
netty 3.6.5




-----
Regards

kiran Reddy
--
View this message in context: http://camel.465427.n5.nabble.com/camel-netty-deadlock-tp5734099.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel netty deadlock

Posted by kiranreddykasa <ki...@fss.co.in>.
Hi 

Tested the 2.12-SNAPSHOT and it works.
So closed this ticket too  https://issues.apache.org/jira/browse/CAMEL-6449
<https://issues.apache.org/jira/browse/CAMEL-6449>  



-----
Regards

kiran Reddy
--
View this message in context: http://camel.465427.n5.nabble.com/camel-netty-deadlock-tp5734099p5734224.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel netty deadlock

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Fixed by this ticket
https://issues.apache.org/jira/browse/CAMEL-6442

On Tue, Jun 11, 2013 at 4:50 PM, kiranreddykasa <ki...@fss.co.in> wrote:
> Hi
>
> I m getting the following exception when trying to use more than two netty
> endpoints in a single route.
>
> java.lang.IllegalStateException: await*() in I/O thread causes a dead lock
> or sudden performance drop. Use addListener() instead or call await*() from
> a different thread.
>
> Sample route :
>
>                                 from("netty:tcp://localhost:7000?textline")
>                                 .bean(DummyProcessor.class)
>                                 .to("netty:tcp://localhost:7001?textline=true")
>                                 .bean(DummyProcessor.class)
>                                 .to("netty:tcp://localhost:7002?textline=true")
>                                 .bean(DummyProcessor.class)
>                                 .to("netty:tcp://localhost:7003?textline=true")
>                                 .bean(DummyProcessor.class)
>                                 .to("netty:tcp://localhost:7004?textline=true")
>                                 .bean(DummyProcessor.class);
>
> camel version : 2.11
> netty 3.6.5
>
>
>
>
> -----
> Regards
>
> kiran Reddy
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-netty-deadlock-tp5734099.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen