parent
bdac937a43
commit
9837ec5904
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2018 the original author or authors.
|
* Copyright 2002-2019 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -49,7 +49,7 @@ import org.springframework.context.annotation.Import;
|
||||||
* registry.addHandler(echoWebSocketHandler(), "/echo").withSockJS();
|
* registry.addHandler(echoWebSocketHandler(), "/echo").withSockJS();
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* @Bean
|
* @Override
|
||||||
* public WebSocketHandler echoWebSocketHandler() {
|
* public WebSocketHandler echoWebSocketHandler() {
|
||||||
* return new EchoWebSocketHandler();
|
* return new EchoWebSocketHandler();
|
||||||
* }
|
* }
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2016 the original author or authors.
|
* Copyright 2002-2019 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -49,7 +49,7 @@ import org.springframework.context.annotation.Import;
|
||||||
* registry.addEndpoint("/portfolio").withSockJS();
|
* registry.addEndpoint("/portfolio").withSockJS();
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* @Bean
|
* @Override
|
||||||
* public void configureMessageBroker(MessageBrokerRegistry registry) {
|
* public void configureMessageBroker(MessageBrokerRegistry registry) {
|
||||||
* registry.enableStompBrokerRelay("/queue/", "/topic/");
|
* registry.enableStompBrokerRelay("/queue/", "/topic/");
|
||||||
* registry.setApplicationDestinationPrefixes("/app/");
|
* registry.setApplicationDestinationPrefixes("/app/");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue