Open mohdFathi opened 4 years ago
onComplete signals the end of the stream, not the success of the subscription.
oook , what if I want to be notified upon successful subscription. I have tried @SubscribeMapping and listening for SessionSubscribeEvent on the back-end but both do not get triggered after subscription...any ideas?
You shouldn't need to listen for a successful subscription. You should be ready to respond to events as soon as you subscribe.
the onComplete() call back does not get trigred after subscribe method :