camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/3] git commit: CAMEL-6856: netty consumer using UDP should release the datagram channel factory
Date Fri, 11 Oct 2013 10:04:49 GMT
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 <davsclaus@apache.org>
Authored: Fri Oct 11 12:03:43 2013 +0200
Committer: Claus Ibsen <davsclaus@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) {


Mime
View raw message