You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now when we call unsubscribe on stomp client, if subscription is not present client raises an error. So is there any way or method by which we can check if subscription is present before calling the unsubscribe method?
Sample code.
$ stomp_client.subscriber?('/topic/xyz') # or stomp_client.subscriber?('/queue/XYZ')
=> true # or false
If this sounds good idea then I can create quick PR.
Thoughts?
The text was updated successfully, but these errors were encountered:
Right now when we call
unsubscribe
on stomp client, if subscription is not present client raises an error. So is there any way or method by which we can check if subscription is present before calling theunsubscribe
method?Sample code.
If this sounds good idea then I can create quick PR.
Thoughts?
The text was updated successfully, but these errors were encountered: