camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [1/3] git commit: Polish the code of JmsComponent
Date Thu, 29 May 2014 08:49:54 GMT
Repository: camel
Updated Branches:
  refs/heads/master 9e52e12a3 -> a0b969944


Polish the code of JmsComponent


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

Branch: refs/heads/master
Commit: c275dfb8ea6092b2c93b00a3dda62e06333caf7b
Parents: e56a9ff
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Thu May 29 15:53:05 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Thu May 29 16:49:27 2014 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/jms/JmsComponent.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c275dfb8/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
index f9777ab..93d0323 100644
--- a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
+++ b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
@@ -55,7 +55,6 @@ public class JmsComponent extends UriEndpointComponent implements ApplicationCon
     private QueueBrowseStrategy queueBrowseStrategy;
     private HeaderFilterStrategy headerFilterStrategy;
     private ExecutorService asyncStartStopExecutorService;
-    private MessageListenerContainerFactory messageListenerContainerFactory;
 
     public JmsComponent() {
         super(JmsEndpoint.class);
@@ -538,7 +537,7 @@ public class JmsComponent extends UriEndpointComponent implements ApplicationCon
                     parameters, KEY_FORMAT_STRATEGY_PARAM, JmsKeyFormatStrategy.class));
         }
 
-        messageListenerContainerFactory = resolveAndRemoveReferenceParameter(parameters,
+        MessageListenerContainerFactory messageListenerContainerFactory = resolveAndRemoveReferenceParameter(parameters,
                 "messageListenerContainerFactoryRef", MessageListenerContainerFactory.class);
         if (messageListenerContainerFactory != null) {
             endpoint.setMessageListenerContainerFactory(messageListenerContainerFactory);


Mime
View raw message