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-6944: Exchange should include id in toString so users can use that for tracking etc.
Date Fri, 10 Jul 2015 11:58:36 GMT
Repository: camel
Updated Branches:
  refs/heads/master dac1118f8 -> a9fe2d94e


CAMEL-6944: Exchange should include id in toString so users can use that for tracking etc.


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

Branch: refs/heads/master
Commit: a9fe2d94efa01bd73a26e1c6f3caa4570cbc7da1
Parents: dac1118
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Jul 10 14:04:55 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Jul 10 14:04:55 2015 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/impl/DefaultExchange.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a9fe2d94/camel-core/src/main/java/org/apache/camel/impl/DefaultExchange.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/DefaultExchange.java b/camel-core/src/main/java/org/apache/camel/impl/DefaultExchange.java
index b7cb402..9707d00 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/DefaultExchange.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultExchange.java
@@ -80,7 +80,7 @@ public final class DefaultExchange implements Exchange {
 
     @Override
     public String toString() {
-        return "Exchange[" + (out == null ? in : out) + "]";
+        return String.format("Exchange[%s][%s]", exchangeId, (out == null ? in : out));
     }
 
     public Exchange copy() {


Mime
View raw message