mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-30 11:19:06 +00:00
Fix <websocket:interceptors> default configuration
Adding a ChannelInterceptor does not suppress default executor settings anymore in the XML namespace. Issue: SPR-11623
This commit is contained in:
committed by
Rossen Stoyanchev
parent
119dfd9cf9
commit
fb7d81c4a2
+9
@@ -293,6 +293,15 @@ public class MessageBrokerBeanDefinitionParserTests {
|
||||
testExecutor("brokerChannel", 102, 202, 602);
|
||||
}
|
||||
|
||||
// SPR-11623
|
||||
|
||||
@Test
|
||||
public void customChannelsWithDefaultExecutor() {
|
||||
loadBeanDefinitions("websocket-config-broker-customchannels-default-executor.xml");
|
||||
List<Class<? extends MessageHandler>> subscriberTypes = Arrays.<Class<? extends MessageHandler>>asList(SubProtocolWebSocketHandler.class);
|
||||
testExecutor("clientOutboundChannel", Runtime.getRuntime().availableProcessors() * 2, Integer.MAX_VALUE, 60);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void messageConverters() {
|
||||
loadBeanDefinitions("websocket-config-broker-converters.xml");
|
||||
|
||||
Reference in New Issue
Block a user