From f13a09f92605f94ac48afc06a733e52aa90f2f6b Mon Sep 17 00:00:00 2001 From: Iwein Fuld Date: Wed, 13 Jan 2010 18:22:25 +0000 Subject: [PATCH] Added hint to exception most often caused by send timeout --- .../handler/AbstractReplyProducingMessageHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.springframework.integration/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java b/org.springframework.integration/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java index e06be14f97..3df75feddb 100644 --- a/org.springframework.integration/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java +++ b/org.springframework.integration/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java @@ -117,7 +117,8 @@ public abstract class AbstractReplyProducingMessageHandler extends AbstractMessa Message replyMessage = this.createReplyMessage(result, requestHeaders); if (!this.sendReplyMessage(replyMessage, replyChannel)) { throw new MessageDeliveryException(replyMessage, - "failed to send reply Message to channel '" + replyChannel + "'"); + "failed to send reply Message to channel '" + replyChannel + "'. Consider increasing the " + + "send timeout of this endpoint."); } }