summaryrefslogtreecommitdiff
path: root/src/main/resources/static/test-ws.js
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2016-12-30 02:27:52 +0100
committerjbion <joffrey.bion@amadeus.com>2016-12-30 02:27:52 +0100
commit758e4c18fc66d68110d7acc495323cd2d2316af6 (patch)
tree709e47d162d353648302b84af772b570299b8dd9 /src/main/resources/static/test-ws.js
parentClean serializer using the Gson context (diff)
downloadseven-wonders-758e4c18fc66d68110d7acc495323cd2d2316af6.tar.gz
seven-wonders-758e4c18fc66d68110d7acc495323cd2d2316af6.tar.bz2
seven-wonders-758e4c18fc66d68110d7acc495323cd2d2316af6.zip
Auto-subscribe to error channel in test page
Diffstat (limited to 'src/main/resources/static/test-ws.js')
-rw-r--r--src/main/resources/static/test-ws.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/static/test-ws.js b/src/main/resources/static/test-ws.js
index 662cf811..1c64349e 100644
--- a/src/main/resources/static/test-ws.js
+++ b/src/main/resources/static/test-ws.js
@@ -6,6 +6,7 @@ function connect() {
stompClient = Stomp.over(socket);
stompClient.connect({}, function (frame) {
console.log('Connected: ' + frame);
+ subscribeTo('/user/queue/errors');
});
}
bgstack15