camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Frankfurter (JIRA)" <>
Subject [jira] [Created] (CAMEL-10179) Frequent BlockingOperationExceptions under load in NettyProducer.openChannel()
Date Mon, 25 Jul 2016 10:02:20 GMT
Michael Frankfurter created CAMEL-10179:

             Summary: Frequent BlockingOperationExceptions under load in NettyProducer.openChannel()
                 Key: CAMEL-10179
             Project: Camel
          Issue Type: Bug
          Components: camel-netty4
    Affects Versions: 2.17.2
            Reporter: Michael Frankfurter

I have a class that uses a netty4 producer. While doing some load testing, I started seeing
a lot of stack traces like the following:

io.netty.util.concurrent.BlockingOperationException: DefaultChannelPromise@3ee2397e(incomplete)
        at io.netty.util.concurrent.DefaultPromise.checkDeadLock(
        at io.netty.util.concurrent.DefaultPromise.awaitUninterruptibly(
        at org.apache.camel.component.netty4.NettyProducer.openChannel(

It seems to be the same like in CAMEL-8193 but during the opening phase, not the closing phase.

I had a look at `org.apache.camel.component.netty4.NettyProducer.openChannel(), line 468`
and maybe using `channelFuture..addListener(...)` instead of `channelFuture.awaitUninterruptibly();`
at that point may fix this issue.

Would be great if somebody could take a look.

This message was sent by Atlassian JIRA

View raw message