NaikSoftware / StompProtocolAndroid

STOMP protocol via WebSocket for Android
MIT License
597 stars 265 forks source link

android cant send message #178

Open mahendersingh opened 4 years ago

mahendersingh commented 4 years ago

Android cant send message, to Spring Boot 2.2.7.RELEASE. Session gets connected, but while sending the message, do not get any error/callback. and also websocket server does not get invoked

Tried passing the following map during Stomp.over connection call val map = hashMapOf<String, String?>() map.put("accept-version","1.2"); map.put("version","1.2");

but that has no effect

mStompClient?.send("/topic/activity1", jsonObject.toString())?.subscribe() : this call does not send thge message to @MessageMapping.

Any help is appreciated?

Samll-Kosmos commented 2 years ago

Were you able to solve this?