StompProtocolAndroid icon indicating copy to clipboard operation
StompProtocolAndroid copied to clipboard

STOMP protocol via WebSocket for Android

Results 102 StompProtocolAndroid issues
Sort by recently updated
recently updated
newest added

When connection is not established for invalid URL and call mStompClient.isConnected() , then crash the APP java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference at...

I have a java project that needs a stomp client, and a lot of the Android dependencies here seemed unnecessary (really only used for logging). I made a fork that...

Error Log. Input dispatching timed out ANR Input dispatching timed out (Waiting to send key event because the focused window has not finished processing all of the input events that...

after 1 min,the websocket goes error ,so I want to add a heart-beat in my project,what should i do

server using spring boot 2 and message broker rabbitmq it is my code ``` val loginTopic = stompClient!!.topic("/user/queue/broadcast.duplicate-login") .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe({ Toast.makeText(this, "duplicate login.", Toast.LENGTH_SHORT).show() showDuplicateLoginDialog() }, { throwable ->...

mStompClient = Stomp.over(WebSocket.class, HostConfig.SERVICE_INCOMING); mStompClient.topic("/topic/hello").subscribe(topicMessage -> { Log.d("listenStomp", topicMessage.getPayload()); }); mStompClient.connect(); but Logcat show only following lines. D/WebSocketsConnectionProvider: Emit STOMP message: MESSAGE expires:0 correlation-id: destination:/topic/hello subscription:341c8a71-267a-40b2-a9ef- 3dc36177c2c9 priority:0 type: message-id:ID:Laptop-Jiban-50526-...

I want to set timeout for topic mStompClient.topic("/topic/greetings").subscribe(topicMessage -> { Log.d(TAG, topicMessage.getPayload()); }); when the server is not responding??

Hello, yesterday I've made android client to connect with ws but today something happend and got this error: `I/dalvikvm: Could not find method org.java_websocket.client.WebSocketClient.setSocket, referenced from method ua.naiksoftware.stomp.WebSocketsConnectionProvider.createWebSocketConnection` You know...

If I have the app running and stop the WS server I handle the CLOSED lifecycle event and dispose of topic subscriptions - upon disposing the following error is fired:...