You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2013/10/11 12:04:49 UTC
[2/3] git commit: CAMEL-6856: netty consumer using UDP should release
the datagram channel factory
CAMEL-6856: netty consumer using UDP should release the datagram channel factory
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/92bf4255
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/92bf4255
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/92bf4255
Branch: refs/heads/camel-2.10.x
Commit: 92bf4255a783e58a3fefbdb21034516201a149c3
Parents: 809c825
Author: Claus Ibsen <da...@apache.org>
Authored: Fri Oct 11 12:03:43 2013 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Oct 11 12:04:06 2013 +0200
----------------------------------------------------------------------
.../main/java/org/apache/camel/component/netty/NettyConsumer.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/92bf4255/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConsumer.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConsumer.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConsumer.java
index aadc960..b0c23ce 100644
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConsumer.java
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConsumer.java
@@ -101,6 +101,9 @@ public class NettyConsumer extends DefaultConsumer {
if (channelFactory != null) {
channelFactory.releaseExternalResources();
}
+ if (datagramChannelFactory != null) {
+ datagramChannelFactory.releaseExternalResources();
+ }
// and then shutdown the thread pools
if (bossExecutor != null) {