We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5876313 commit 0ead8e8Copy full SHA for 0ead8e8
backend/src/main/java/com/deliveranything/global/config/WebSocketConfig.java
@@ -30,11 +30,13 @@
30
import org.springframework.security.core.Authentication;
31
import org.springframework.security.core.GrantedAuthority;
32
import org.springframework.security.core.userdetails.UserDetails;
33
+import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker;
34
import org.springframework.web.socket.config.annotation.StompEndpointRegistry;
35
import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer;
36
37
@Slf4j
38
@Configuration
39
+@EnableWebSocketMessageBroker
40
@RequiredArgsConstructor
41
public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
42
0 commit comments