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
I might be missing something but how can I subscribe to multiple topics with one stomp client?
I tried
socketClient.subscribe(destination: "topic-a")
socketClient.subscribe(destination: "topic-b")
the message sent to topic-a can never be caught by the delegate func stompClient(client: StompClientLib!, didReceiveMessageWithJSONBody jsonBody: AnyObject?, withHeader header: [String : String]?, withDestination destination: String) { print("DESTIONATION : \(destination)") print("JSON BODY : \(String(describing: jsonBody))") }
Evan
The text was updated successfully, but these errors were encountered:
Hi:
I might be missing something but how can I subscribe to multiple topics with one stomp client?
I tried
socketClient.subscribe(destination: "topic-a")
socketClient.subscribe(destination: "topic-b")
the message sent to topic-a can never be caught by the delegate
func stompClient(client: StompClientLib!, didReceiveMessageWithJSONBody jsonBody: AnyObject?, withHeader header: [String : String]?, withDestination destination: String) { print("DESTIONATION : \(destination)") print("JSON BODY : \(String(describing: jsonBody))") }
The text was updated successfully, but these errors were encountered: