camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [3/4] camel git commit: CAMEL-8593 Added the missing log parameter in JmsEndpoint.configureListenerContainer()
Date Fri, 03 Apr 2015 02:15:10 GMT
CAMEL-8593 Added the missing log parameter in JmsEndpoint.configureListenerContainer()


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

Branch: refs/heads/camel-2.14.x
Commit: 7663ac030e190fc03f33131e5e52ac0a49bac6d3
Parents: 2b97595
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Fri Apr 3 09:47:21 2015 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Fri Apr 3 10:14:39 2015 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/jms/JmsEndpoint.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7663ac03/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsEndpoint.java
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsEndpoint.java
index af15397..7da1427 100644
--- a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsEndpoint.java
+++ b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsEndpoint.java
@@ -168,10 +168,10 @@ public class JmsEndpoint extends DefaultEndpoint implements HeaderFilterStrategy
     public void configureListenerContainer(AbstractMessageListenerContainer listenerContainer,
JmsConsumer consumer) {
         if (destinationName != null) {
             listenerContainer.setDestinationName(destinationName);
-            log.debug("Using destinationName: {} on listenerContainer: ", destinationName,
listenerContainer);
+            log.debug("Using destinationName: {} on listenerContainer: {}", destinationName,
listenerContainer);
         } else if (destination != null) {
             listenerContainer.setDestination(destination);
-            log.debug("Using destination: {} on listenerContainer: ", destinationName, listenerContainer);
+            log.debug("Using destination: {} on listenerContainer: {}", destinationName,
listenerContainer);
         } else {
             DestinationResolver resolver = getDestinationResolver();
             if (resolver != null) {
@@ -179,7 +179,7 @@ public class JmsEndpoint extends DefaultEndpoint implements HeaderFilterStrategy
             } else {
                 throw new IllegalArgumentException("Neither destination, destinationName
or destinationResolver are specified on this endpoint!");
             }
-            log.debug("Using destinationResolver: {} on listenerContainer: ", resolver, listenerContainer);
+            log.debug("Using destinationResolver: {} on listenerContainer: {}", resolver,
listenerContainer);
         }
         listenerContainer.setPubSubDomain(pubSubDomain);
 


Mime
View raw message