-
|
Hello, how to correctly resubscribe to my sensors/5 topic again in onConnectionResumed() method? Sometimes my connection gets dropped with the error Connection interrupted: 5134: The connection was closed unexpectedly. and after that I am not receiving any messages from that topic, I have to restart the Spring Boot app. How to correctly solves this issue? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
You shouldn't need to resubscribe since you are using |
Beta Was this translation helpful? Give feedback.
-
|
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
You shouldn't need to resubscribe since you are using
.withCleanSession(false). How long are you disconnected for? Can you attach logs from this happening?