This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Multiple topics #73
Comments
Not sure what the issue can be. The multiple topic operations have been covered in tests - https://github.com/stomp-js/ng2-stompjs/blob/master/src/specs/app/services/stomp-queue.operations.spec.ts Please share a full example showing the problem as a git hub project for me to assist further. |
I have the following code (similar):
So when message is pushed to either of the 2 topics it always ends up in topic2Handler. |
Please share a full example as a GitHub project. You may fork one of the demos (https://github.com/stomp-js/ng2-stompjs#usage) and add your code. |
This issue will be closed because lack of information. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there.
I am having an issue with subscription to multiple topics where I want to specify different success callbacks. For example:
So when the message is pushed to the first topic it would always use this.topic2Callback instead of topic1Callback. Looks like it is somehow always using the last callback which is used for a sequence of topics subscriptions.
Please advise.
The text was updated successfully, but these errors were encountered: