camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-8960: Polished
Date Tue, 14 Jul 2015 08:58:41 GMT
Repository: camel
Updated Branches:
  refs/heads/master 516834a2a -> 4f57bbb16


CAMEL-8960: Polished


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

Branch: refs/heads/master
Commit: 4f57bbb16ebc4f3e8a4f0bf43466b31162e662ae
Parents: 516834a
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Jul 14 11:05:18 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Jul 14 11:05:18 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/direct/DirectProducer.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4f57bbb1/camel-core/src/main/java/org/apache/camel/component/direct/DirectProducer.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/direct/DirectProducer.java
b/camel-core/src/main/java/org/apache/camel/component/direct/DirectProducer.java
index 234268e..c4bcf2d 100644
--- a/camel-core/src/main/java/org/apache/camel/component/direct/DirectProducer.java
+++ b/camel-core/src/main/java/org/apache/camel/component/direct/DirectProducer.java
@@ -21,6 +21,7 @@ import org.apache.camel.Exchange;
 import org.apache.camel.impl.DefaultAsyncProducer;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
+
 /**
  * The direct producer.
  *
@@ -40,7 +41,7 @@ public class DirectProducer extends DefaultAsyncProducer {
             if (endpoint.isFailIfNoConsumers()) {
                 throw new DirectConsumerNotAvailableException("No consumers available on
endpoint: " + endpoint, exchange);
             } else {
-                log.debug("message ignored, no consumers available on endpoint: " + endpoint);
+                LOG.debug("message ignored, no consumers available on endpoint: {}", endpoint);
             }
         } else {
             endpoint.getConsumer().getProcessor().process(exchange);
@@ -53,7 +54,7 @@ public class DirectProducer extends DefaultAsyncProducer {
                 // indicate its done synchronously
                 exchange.setException(new DirectConsumerNotAvailableException("No consumers
available on endpoint: " + endpoint, exchange));
             } else {
-                log.debug("message ignored, no consumers available on endpoint: " + endpoint);
+                LOG.debug("message ignored, no consumers available on endpoint: {}", endpoint);
             }
             callback.done(true);
             return true;


Mime
View raw message