StompProtocolAndroid icon indicating copy to clipboard operation
StompProtocolAndroid copied to clipboard

android cant send message

Open mahendersingh opened this issue 4 years ago • 1 comments

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?

mahendersingh avatar Jul 11 '20 06:07 mahendersingh

Were you able to solve this?

Samll-Kosmos avatar Apr 12 '22 23:04 Samll-Kosmos