[websocket] Change EventWebSocketAdapter adapter id to `events` (#4540)
This is aligns the event WS name with the SSE events endpoint. This is a breaking change for clients that have explicitly used `/ws/event-subscriber` instead of the default `/ws`. Signed-off-by: Florian Hotze <dev@florianhotze.com>pull/4541/head
parent
13eeea96e8
commit
f8fdd66f78
|
@ -37,7 +37,7 @@ import com.google.gson.Gson;
|
|||
@NonNullByDefault
|
||||
@Component(immediate = true, service = { EventSubscriber.class, WebSocketAdapter.class })
|
||||
public class EventWebSocketAdapter implements EventSubscriber, WebSocketAdapter {
|
||||
public static final String ADAPTER_ID = "event-subscriber";
|
||||
public static final String ADAPTER_ID = "events";
|
||||
private final Gson gson = new Gson();
|
||||
private final EventPublisher eventPublisher;
|
||||
|
||||
|
|
Loading…
Reference in New Issue