StompProtocolAndroid
StompProtocolAndroid copied to clipboard
After subscription to topic, unable to recieve data
val dispTopic = mStompClient!!.topic("/user/balance", subscribeHeaders) .subscribe({ it -> Log.d("Storm", "data") })
After subscription to topic I am not able to receive data. Data prints in the console but not prints here. Can you help me on this?
Have a similar issue, but it receives messages right after connections, but then stops without notifying that a connection dropped
In my case it is not dropping. The messages are getting printing on the console for the topic which I subscribed, to handle this issue what I am did is that I made an emitter and pushed the data onto that emitter. After that I subscribed that emitter in my code and my problem got resolved.
can any of you solve this problem? if so please help me