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:19 UTC
[2/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/a4c031b0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a4c031b0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a4c031b0
Branch: refs/heads/camel-2.17.x
Commit: a4c031b0fdb38898f61c10dd66cadaf68292d200
Parents: c70838b
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:28:40 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/a4c031b0/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 {