StompProtocolAndroid
StompProtocolAndroid copied to clipboard
STOMP protocol via WebSocket for Android
The connection of ws is ok,but the connection of wss is not
**Client code** ``` mStompClient.lifecycle() .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(lifecycleEvent -> { switch (lifecycleEvent.getType()) { case OPENED: toast("connection success!"); Log.i(TAG, "This data comes from the server:"+JSON.toJSONString(lifecycleEvent)); // How to get the stomp protocol...
Download your demo running test on github and the background service has been tuned, but Call the following method has been prompt “Stomp connection closed”,It's the same error as HTTP。...
` org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':Application:transformClassesWithDexBuilderForTestInternationalDebug'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63) at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88) at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54) at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34) at...
## when run in android studio . There is a error! adb shell am start -n "ua.naiksoftware.stompclientexample/ua.naiksoftware.stompclientexample.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Error while executing: am start -n "ua.naiksoftware.stompclientexample/ua.naiksoftware.stompclientexample.MainActivity" -a android.intent.action.MAIN...
Hello, I'm trying to use StompClient without retrolambda Why with the following code I can get the message from the server (with retrolambda)?: ``` mStompClient.topic("/topic/hello").subscribe(topicMessage -> { Log.d("listenStomp", topicMessage.getPayload()); });...
Hello, I've been using this library since 1.5 year. Thank you so much for this awesome library. After I converted my code to Kotlin, a crush is appeared. (I am...
Emitters are not cleaned when sockets are disconnected. Therefore subscribe message would not be sent after re-connect even if we add a new emmiter. ``` Set
If you (without waiting) try to connect to an unreachable host, send a message, disconnect, and connect again, the final connect attempt crashes: W/System.err: java.lang.IllegalStateException: Already have connection to web...
Not able to response to non-destination commands coming from STOMP and thus not able to response to anything other than subscribed topics. Not able to extend anything from this library...