shaipan opened a new pull request, #22874:
URL: https://github.com/apache/camel/pull/22874
Fix a race condition and improve reconnect behavior in the Streaming API
subscription helper.
- Synchronize clear() + addAll() on channelsToSubscribe in the handshake
listener to prevent
the connection listener from reading a partially updated set
- Take a snapshot of channelsToSubscribe before subscribing in the
connection listener to avoid
concurrent modification
- Handle all non-retry reconnect advice (not just "none") per the
CometD/Bayeux spec, including
on successful connect messages
- Initiate handshake on temporary errors during connect to recover the
session
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]