Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,18 @@ mvn spring-boot:run
You can find the tutorial for this application on my blog -

https://www.callicoder.com/spring-boot-websocket-chat-example/

## Note
If you are running rabbitmq from a docker instance Guest/Guest credentials will not work since the virtual host permissions block the request.

Set the system login and system passcode to your admin account

```bash
registry.enableStompBrokerRelay("/topic")
.setRelayHost("localhost")
.setRelayPort(61613)
.setClientLogin("admin")
.setSystemLogin("admin")
.setSystemPasscode("password")
.setClientPasscode("password");
```