Hi, I instantiate the rxStomp instance and config ...
# help
d
Hi, I instantiate the rxStomp instance and config it right above the code. I just swap the order of .watch and .publish then it just work! Though I haven't figured out the reason. Thank you for your help!
r
Awesome, glad it helped 🙂 The reason it now works is that you first subscribe to that endpoint so when you do publish, the listener will be registered and called.
d
Hi , I have another question about how to set a timeout in this code block? in case the websocket connection failed
2 Views