You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2015/05/13 09:22:23 UTC

[3/6] camel git commit: Clean up the code of netty component

Clean up the code of netty component


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/483e25cd
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/483e25cd
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/483e25cd

Branch: refs/heads/camel-2.14.x
Commit: 483e25cd97caf3dde098555efa5afa1bf4308dc9
Parents: 71f22b4
Author: Willem Jiang <wi...@gmail.com>
Authored: Wed May 13 14:54:58 2015 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Wed May 13 15:10:57 2015 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/netty/NettyComponent.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/483e25cd/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyComponent.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyComponent.java
index ee9e4f8..5d601f9 100644
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyComponent.java
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyComponent.java
@@ -36,7 +36,7 @@ public class NettyComponent extends UriEndpointComponent {
     private Timer timer;
     private NettyConfiguration configuration;
     private int maximumPoolSize = 16;
-    private OrderedMemoryAwareThreadPoolExecutor executorService;
+    private volatile OrderedMemoryAwareThreadPoolExecutor executorService;
 
     public NettyComponent() {
         super(NettyEndpoint.class);