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 2016/06/10 18:29:20 UTC

[3/3] camel git commit: Mina2BodyPatch

Mina2BodyPatch


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

Branch: refs/heads/camel-2.16.x
Commit: f44d8652eea9867f3956e900ce005e4b1fdf4728
Parents: 9f0df57
Author: Arno Noordover <an...@users.noreply.github.com>
Authored: Fri Jun 10 13:59:56 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Jun 10 20:29:06 2016 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/mina2/Mina2Helper.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f44d8652/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Helper.java
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Helper.java b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Helper.java
index 4505a59..4e843b6 100644
--- a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Helper.java
+++ b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Helper.java
@@ -51,7 +51,7 @@ public final class Mina2Helper {
         // thread hanging forever
         LOG.trace("Waiting for write to complete for body: {} using session: {}", body, session);
         if (!future.awaitUninterruptibly(10000L)) {
-            String message = "Cannot write body: " + body + " using session: " + session;
+            String message = "Cannot write body: " + body.getClass().getCanonicalName() + " using session: " + session;
             if (future.getException() != null) {
                 throw new CamelExchangeException(message, exchange, future.getException());
             } else {