After subscribing to a topic, how to handle messages from server side?
yhz82415 opened this issue · 1 comments
I managed to send messages and subscribe to topics. Then in my server side, I sent a message back to the subscribed topic, how does the client receive and handle this message???
Basically the message sent by server is not coming back to this method:
func stompClient(client: StompClientLib!, didReceiveMessageWithJSONBody jsonBody: AnyObject?, withHeader header: [String : String]?, withDestination destination: String)
I managed to send messages and subscribe to topics. Then in my server side, I sent a message back to the subscribed topic, how does the client receive and handle this message???
Basically the message sent by server is not coming back to this method:
func stompClient(client: StompClientLib!, didReceiveMessageWithJSONBody jsonBody: AnyObject?, withHeader header: [String : String]?, withDestination destination: String)
Closing this issue because I subscribed two topics and need different impl for the protocol