-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SOL-79061] Application spins into an infinite loop throwing com.solacesystems.jcsmp.StaleSessionException when reconnectRetries is set to a +ve number #179
Comments
Set As for the logging, this issue is very similar to #174 with the key difference being that while this issue is about the session dying, #174 was specifically about flow receivers dying. Not entirely sure if the fix is handled by #174 (likely). But we should leave this open to capture the use case. |
Hi @Nephery, Thanks for looking into this. I guess #174 is a related issue. But the question is, with reconnectRetries set to 3 (say) when the reconnect is not successful after 3 attempts, what is the right behavior? But why would it invoke or wake up to call receiveMessage on a stale connection? That is the root cause of infinite logging and is affecting fail-over scenarios. Is this a bug that will get addressed, or is any workaround available (configuration settings) Can you give a hint on how the resolution would look like? |
None of the above. Once all reconnect attempts have been exhausted, the health of the binder just goes
Handling this will be part of this resolution. Likely I'll just close the underlying consumer threads when a |
Sounds good - that sounds logical. Any ETA for this fix? |
ETA is we are trying to get this and #174 done in Q1CY23 |
Closed with #215 |
Please refer to the community post here.
With reconnetRetries set to a +ve number, after exhausting the reconnect attempts, the application goes for a spin throwing the following exception in a loop. Even after the broker is up, the application never reconnects.
The exception thrown in loop is:
The text was updated successfully, but these errors were encountered: