-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subscribe not working on topic #10
Comments
I'm not completely understanding your issue. You say you can see that you're receiving the message in Logcat -- what are you seeing, exactly? I need a lot more details. However, I highly recommend that you use Scarlet for any new projects. The StompProtocolAndroid libs are outdated. |
scarlet has no documentation for STOMP, and by what i said is, the response from server is coming to the okHttpConnectionProvider's (text receive block), but is not getting emitted to my subscribe block. |
Still not enough detail. Show me logs and code. |
i have written code like this
but could getting topic subscribe logs. here is my logs
D/socket: Stomp connection opened |
Looks like you're successfully connected, are you sure the server is sending anything to that topic? |
@forresthopkinsa server sending data in topic . |
What happens when I subscribe too fast while websocket is connecting? |
@violettomsk I'd expect it to subscribe to the topic once the connection completes. Is that the behavior you observe? |
StompClient client = Stomp.over(Stomp.ConnectionProvider.OKHTTP, "ws://192.168.1.75:9464/chatServer");
client.connect();
message from server is receiving and showing in logcat but is not receiving in the subscribe block
The text was updated successfully, but these errors were encountered: