Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ActiveMQ failover for stomp over websocket

Is there a workaround to implement an activemq failover for stomp over websocket?

The uri in my web browser is ws://localhost:61614/stomp which is working fine. But adding failover:(ws://localhost:61614/stomp) will not work.

Appreciate any guidance.

Regards,

Walter

like image 921
pongs Avatar asked Nov 25 '25 07:11

pongs


1 Answers

The failover transport only works with ActiveMQ's openwire based protocol. For stomp you need to handle all exceptions and reconnect when something goes wrong.

like image 116
Tim Bish Avatar answered Nov 28 '25 17:11

Tim Bish



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!