StompProtocolAndroid icon indicating copy to clipboard operation
StompProtocolAndroid copied to clipboard

After subscription to topic, unable to recieve data

Open ambishiva opened this issue 3 years ago • 3 comments

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?

ambishiva avatar Jan 16 '21 09:01 ambishiva

Have a similar issue, but it receives messages right after connections, but then stops without notifying that a connection dropped

Nialit avatar Feb 03 '21 17:02 Nialit

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.

ambishiva avatar Feb 03 '21 17:02 ambishiva

can any of you solve this problem? if so please help me

sajon-cu avatar Sep 28 '21 07:09 sajon-cu