Search in sources :

Example 1 with DelegatingWebSocketMessageBrokerConfiguration

use of org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration in project spring-boot by spring-projects.

the class WebSocketMessagingAutoConfigurationTests method getDefaultConverters.

private List<MessageConverter> getDefaultConverters() {
    DelegatingWebSocketMessageBrokerConfiguration configuration = new DelegatingWebSocketMessageBrokerConfiguration();
    CompositeMessageConverter compositeDefaultConverter = configuration.brokerMessageConverter();
    return compositeDefaultConverter.getConverters();
}
Also used : CompositeMessageConverter(org.springframework.messaging.converter.CompositeMessageConverter) DelegatingWebSocketMessageBrokerConfiguration(org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration)

Aggregations

CompositeMessageConverter (org.springframework.messaging.converter.CompositeMessageConverter)1 DelegatingWebSocketMessageBrokerConfiguration (org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration)1