mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Stop setting the relayPort, since we explicitly set the TCP client
This commit is contained in:
+2
-1
@@ -121,7 +121,8 @@ public abstract class AbstractStompBrokerRelayIntegrationTests {
|
||||
StubMessageChannel channel = new StubMessageChannel();
|
||||
List<String> prefixes = Arrays.asList("/queue/", "/topic/");
|
||||
this.relay = new StompBrokerRelayMessageHandler(channel, this.responseChannel, channel, prefixes);
|
||||
this.relay.setRelayPort(this.port);
|
||||
// We do not set the relayPort, since we explicitly set the TCP client.
|
||||
// this.relay.setRelayPort(this.port);
|
||||
this.relay.setApplicationEventPublisher(this.eventPublisher);
|
||||
this.relay.setSystemHeartbeatReceiveInterval(0);
|
||||
this.relay.setSystemHeartbeatSendInterval(0);
|
||||
|
||||
Reference in New Issue
Block a user