Skip to content

bilak/spring-websocket-rabbitmq-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demonstration of WebSocket usage through Zuul gateway with Stomp (websockets from server are relayed through RabbitMq).

The problem of connection=keep-alive header is fixed on backend application with WebSocketHeaderFilter

####RABBITMQ CONFIGURATION (in this demo {username=cloud} {password=cloud} {vhost=/cloud})

  • enable management console (Rabbit web console: http://{server}:15672/)
    rabbitmq-plugins enable rabbitmq_management
  • enable stomp plugin
    rabbitmq-plugins enable rabbitmq_stomp
  • add user
    rabbitmqctl add_user {username} {password}
  • add vhost
    rabbitmqctl add_vhost {vhost}
  • add permissions to vhost for given user
    rabbitmqctl set_permissions -p {vhost} {username} ".*" ".*" ".*"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors