seans2s
seans2s
> 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:...
you need change the source code: in `ua.naiksoftware.stomp.StompHeader` class public static final String VERSION = "version"; which should be: public static final String VERSION = "accept-version";
i got the same problem on mac 10.11 But what amazing: use tutorial04 in this repository, it's ok now!
i think you already had an error before this error. such as `IndexError: string index out of range` . ==> this is the problem. just fix the previous error.