diff --git a/intermediate/tcp-client-server-multiplex/src/main/java/org/springframework/integration/samples/tcpclientserver/EchoService.java b/intermediate/tcp-client-server-multiplex/src/main/java/org/springframework/integration/samples/tcpclientserver/EchoService.java index ad10e3d9..5fab2338 100644 --- a/intermediate/tcp-client-server-multiplex/src/main/java/org/springframework/integration/samples/tcpclientserver/EchoService.java +++ b/intermediate/tcp-client-server-multiplex/src/main/java/org/springframework/integration/samples/tcpclientserver/EchoService.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.integration.samples.tcpclientserver; import org.springframework.integration.MessageTimeoutException; @@ -22,6 +23,8 @@ import org.springframework.integration.MessageTimeoutException; * converts it to a String and appends it with ':echo'. * * @author Gary Russell + * @author Artem Bilan + * * @since 2.1 * */ @@ -32,7 +35,7 @@ public class EchoService { throw new RuntimeException("Failure Demonstration"); } else if(input.startsWith("TIMEOUT_TEST")) { - Thread.sleep(3000); + Thread.sleep(50000); } return input + ":echo";