You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Artem Elkin (Jira)" <ji...@apache.org> on 2020/01/31 14:34:00 UTC
[jira] [Created] (CXF-8207) SseEventSource loses lastEventId on the
2nd reconnect attempt
Artem Elkin created CXF-8207:
--------------------------------
Summary: SseEventSource loses lastEventId on the 2nd reconnect attempt
Key: CXF-8207
URL: https://issues.apache.org/jira/browse/CXF-8207
Project: CXF
Issue Type: Bug
Components: JAX-RS
Reporter: Artem Elkin
[https://github.com/apache/cxf/blob/master/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/client/SseEventSourceImpl.java#L82]
here it schedules reconnect passing the lastEventId parameter.
[https://github.com/apache/cxf/blob/master/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/client/SseEventSourceImpl.java#L183]
here it creates a new instance of InboundSseEventListenerDelegate with default lastEventId.
So if the 1st reconnect attempt failed then on the 2nd one it will use an empty lastEventId.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)