We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc6fc14 commit 2e09a2cCopy full SHA for 2e09a2c
example-client/src/main/java/ua/naiksoftware/stompclientexample/MainActivity.java
@@ -118,14 +118,14 @@ public void connectStomp(View view) {
118
}
119
120
public void sendEchoViaStomp(View v) {
121
- mStompClient.send("/topic/hello-msg-mapping", "Echo STOMP " + mTimeFormat.format(new Date()))
+ compositeDisposable.add(mStompClient.send("/topic/hello-msg-mapping", "Echo STOMP " + mTimeFormat.format(new Date()))
122
.compose(applySchedulers())
123
.subscribe(() -> {
124
Log.d(TAG, "STOMP echo send successfully");
125
}, throwable -> {
126
Log.e(TAG, "Error send STOMP echo", throwable);
127
toast(throwable.getMessage());
128
- });
+ }));
129
130
131
public void sendEchoViaRest(View v) {
0 commit comments