Skip to content

Spring Boot with Active MQ STOMP Failover (Active/Standby) - auto reconnect to Standby without closing existing connection #32200

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

Closed
dileeproopreddy opened this issue Feb 6, 2024 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@dileeproopreddy
Copy link

Chat has been implemented using React JS with Spring Boot as the back-end. Relay to STOMP broker AWS Managed ActiveMQ service is enabled. The use-case is straight forward; chat has to be connected 24x7. Broker is setup in a active/standby configuration. As soon as there is a fail-over of active broker(url-1) the standby broker(url-2) kicks-in. A supplier of two addresses for active and standby is configured, the system fail-over is happening as expected.

However, the existing connections to Active Broker (chats) are not ported automatically to standby broker, rather, it's just disconnected in UI and a fresh Web Socket connection had to be requested. The reconnection logic is not implemented for Client sessions, but rather, only System connection.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Feb 6, 2024
@snicoll
Copy link
Member

snicoll commented Feb 6, 2024

Please do not comment in multiple places, see #26169 (comment)

@snicoll snicoll closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2024
@snicoll snicoll added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants