One of the delegate method is not being called.
muddanaraj opened this issue · 1 comments
muddanaraj commented
I have integrated the code from https://github.com/WrathChaos/StompClientLib
I have noticed that one of the delegate method of the stomp client,
func stompClient(client: StompClientLib!, didReceiveMessageWithJSONBody jsonBody: AnyObject?, withHeader header:[String:String]?, withDestination destination: String)
is not being called, others are being called properly.
WrathChaos commented
Hello again @muddanaraj :)
There are two methods for the same functionality.
func stompClient(client: StompClientLib!, didReceiveMessageWithJSONBody jsonBody: AnyObject?, withHeader header:[String:String]?, withDestination destination: String)
func stompClientJSONBody(client: StompClientLib!, didReceiveMessageWithJSONBody jsonBody: String?, withHeader header:[String:String]?, withDestination destination: String)
Please check the second options which is the "didReceiveMessageWithJSONBody jsonBody: String?" one. It will be called if you get the string json from stream pipe :)
Please give me a feedback.
Have fun !