INT-1513 default send timeout for all handlers that extend AbstractReplyProducingMessageHandler is now that of the underlying MessagingTemplate (-1, indefinite). It can of course be changed via setSendTimeout(long).

This commit is contained in:
Mark Fisher
2010-10-16 15:43:32 -04:00
parent 3c5218ec67
commit 75527483f8
2 changed files with 1 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ public class HeaderEnricherParserTests {
public void sendTimeoutDefault() {
Object endpoint = context.getBean("headerEnricherWithDefaults");
long sendTimeout = TestUtils.getPropertyValue(endpoint, "handler.messagingTemplate.sendTimeout", Long.class).longValue();
assertEquals(1000L, sendTimeout);
assertEquals(-1L, sendTimeout);
}
@Test // INT-1154