From af63502ba6e00c065928f4fb765083f61ac246cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20K=C3=A4sler?= <tom.kaesler@mni.thm.de> Date: Sun, 17 Mar 2019 13:25:46 +0100 Subject: [PATCH] fix queue destinations to be convention conform --- .../feedback-barometer-page.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/shared/feedback-barometer-page/feedback-barometer-page.component.ts b/src/app/components/shared/feedback-barometer-page/feedback-barometer-page.component.ts index 3305628f6..a8b0b4c25 100644 --- a/src/app/components/shared/feedback-barometer-page/feedback-barometer-page.component.ts +++ b/src/app/components/shared/feedback-barometer-page/feedback-barometer-page.component.ts @@ -36,14 +36,14 @@ export class FeedbackBarometerPageComponent implements OnInit { ngOnInit() { this.userRole = this.authenticationService.getRole(); - this.rxStompService.watch(`/room/${this.roomId}/feedback.stream`).subscribe((message: Message) => { + this.rxStompService.watch(`/queue/${this.roomId}.feedback.stream`).subscribe((message: Message) => { this.parseIncomingMessage(message); }); const getFeedback = new GetFeedback(); this.rxStompService.publish({ - destination: `/backend/room/${this.roomId}/feedback.query`, + destination: `/backend/queue/${this.roomId}.feedback.query`, body: JSON.stringify(getFeedback) }); } @@ -59,7 +59,7 @@ export class FeedbackBarometerPageComponent implements OnInit { submitFeedback(state: number) { const createFeedback = new CreateFeedback(state); this.rxStompService.publish({ - destination: `/backend/room/${this.roomId}/feedback.command`, + destination: `/backend/queue/${this.roomId}.feedback.command`, body: JSON.stringify(createFeedback) }); } -- GitLab