You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2017/11/20 12:06:07 UTC
[camel] branch camel-2.18.x updated: [CAMEL-12016] Since 2.16.3,
ChannelFuture was never release when a connection error occurs. The fact
is, pool.borrowObject(); (L224) didn't throw connection exception anymore.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-2.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.18.x by this push:
new 1b8bbc9 [CAMEL-12016] Since 2.16.3, ChannelFuture was never release when a connection error occurs. The fact is, pool.borrowObject(); (L224) didn't throw connection exception anymore.
1b8bbc9 is described below
commit 1b8bbc970da2cd8ef318531fc3676992723587c8
Author: dvor4x <dv...@hackerzvoice.net>
AuthorDate: Sat Nov 18 14:54:54 2017 +0100
[CAMEL-12016] Since 2.16.3, ChannelFuture was never release when a connection error occurs. The fact is, pool.borrowObject(); (L224) didn't throw connection exception anymore.
---
.../src/main/java/org/apache/camel/component/netty4/NettyProducer.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyProducer.java b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyProducer.java
index a375681..cd3d12a 100644
--- a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyProducer.java
+++ b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyProducer.java
@@ -642,6 +642,7 @@ public class NettyProducer extends DefaultAsyncProducer {
}
exchange.setException(cause);
callback.done(false);
+ releaseChannel(future);
return;
}
--
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <co...@camel.apache.org>'].