0 votes
in Spring by

Which annotation is used to enable WebSocket message handling in Spring?

a) @EnableWebSocketMessages

b) @EnableWebSocket

c) @WebSocketListener

d) @WebSocketConfig

1 Answer

0 votes
by
b) @EnableWebSocket

Explanation:

The @EnableWebSocket annotation is used to enable WebSocket-based message handling in Spring.

...