Some upgrades
* Gradle-2.13 * Spring Kafka 1.0.0.RC1 * Spring Integration Kafka 2.0.0.RC1 * Spring Boot 1.4.0.M3 * Provide required fixes
This commit is contained in:
@@ -135,7 +135,8 @@ public class Application {
|
||||
@ServiceActivator(inputChannel = "sendTimeChannel")
|
||||
public MessageHandler loggingChannelAdapter() {
|
||||
LoggingHandler loggingHandler = new LoggingHandler("info");
|
||||
loggingHandler.setExpression("'The time ' + payload + ' has been sent to the WebSocketSession ' + headers.simpSessionId");
|
||||
loggingHandler.setLogExpressionString(
|
||||
"'The time ' + payload + ' has been sent to the WebSocketSession ' + headers.simpSessionId");
|
||||
return loggingHandler;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.util.concurrent.TimeUnit;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import org.springframework.boot.context.web.LocalServerPort;
|
||||
import org.springframework.boot.context.embedded.LocalServerPort;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
|
||||
Reference in New Issue
Block a user