StompProtocolAndroid
StompProtocolAndroid copied to clipboard
android cant send message
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?
Were you able to solve this?