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 11:57:19 UTC
[camel] branch master updated: * 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 master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new ae94dae * 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.
ae94dae is described below
commit ae94daea5ae8eb9fc816077e65335f12590a3793
Author: dvor4x <dv...@hackerzvoice.net>
AuthorDate: Sat Nov 18 14:54:54 2017 +0100
* 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>'].