You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/04/09 13:38:19 UTC

camel git commit: Polished

Repository: camel
Updated Branches:
  refs/heads/master c3b6595f9 -> 9c878faf3


Polished


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

Branch: refs/heads/master
Commit: 9c878faf39a5db7b3ffbb6d48ab473aecc11a359
Parents: c3b6595
Author: Claus Ibsen <da...@apache.org>
Authored: Sun Apr 9 15:37:51 2017 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Sun Apr 9 15:37:51 2017 +0200

----------------------------------------------------------------------
 .../camel/component/reactive/streams/engine/CamelPublisher.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/9c878faf/components/camel-reactive-streams/src/main/java/org/apache/camel/component/reactive/streams/engine/CamelPublisher.java
----------------------------------------------------------------------
diff --git a/components/camel-reactive-streams/src/main/java/org/apache/camel/component/reactive/streams/engine/CamelPublisher.java b/components/camel-reactive-streams/src/main/java/org/apache/camel/component/reactive/streams/engine/CamelPublisher.java
index 4544b7d..abe808b 100644
--- a/components/camel-reactive-streams/src/main/java/org/apache/camel/component/reactive/streams/engine/CamelPublisher.java
+++ b/components/camel-reactive-streams/src/main/java/org/apache/camel/component/reactive/streams/engine/CamelPublisher.java
@@ -92,7 +92,9 @@ public class CamelPublisher implements Publisher<StreamPayload<Exchange>>, AutoC
         }
 
         if (subs.size() > 0) {
-            LOG.debug("Exchange published to {} subscriptions for the stream {}: {}", subs.size(), name, data.getItem());
+            if (LOG.isDebugEnabled()) {
+                LOG.debug("Exchange published to {} subscriptions for the stream {}: {}", subs.size(), name, data.getItem());
+            }
             // at least one subscriber
             for (CamelSubscription sub : subs) {
                 sub.publish(data);