From a99b03c3873fa71cbac0af9273cd31557317d3b6 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Thu, 14 Aug 2008 10:29:29 +0000 Subject: [PATCH] SimpleMessagingGateway's default 'replyTimeout' is now -1 for "indefinite" (matches the default of MessageExchangeTemplate). --- .../integration/gateway/SimpleMessagingGateway.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.springframework.integration/src/main/java/org/springframework/integration/gateway/SimpleMessagingGateway.java b/org.springframework.integration/src/main/java/org/springframework/integration/gateway/SimpleMessagingGateway.java index 26d978bbd1..5078d2166f 100644 --- a/org.springframework.integration/src/main/java/org/springframework/integration/gateway/SimpleMessagingGateway.java +++ b/org.springframework.integration/src/main/java/org/springframework/integration/gateway/SimpleMessagingGateway.java @@ -49,7 +49,7 @@ public class SimpleMessagingGateway extends MessagingGatewaySupport implements M private volatile PollableChannel replyChannel; - private volatile long replyTimeout = 5000; + private volatile long replyTimeout = -1; private volatile int replyMapCapacity = 100;