-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I am doing:
private SSEHandler sseHandler = new SSEHandler();
private EventSource eventSource;
private void startEventSource(String eventUrl, Map<String, String> extraHeaderParameters) {
eventSource = new EventSource.Builder(eventUrl)
.eventHandler(sseHandler)
.build();
eventSource.connect();
}
private void stopEventSource() {
if (eventSource != null)
eventSource.close();
sseHandler = null;
}
public void requestReactiveSSE() {
startEventSource("http://" + ipaddress + ":9094/quotes-reactive-paged?page=3&size=30", new HashMap<String, String>());
}
I get no information that it connected and nothing happens. What function do I connect to so I can process what should be received?
Metadata
Metadata
Assignees
Labels
No labels