I have created a dummy web page using html when u press the button on page this event should be captured by rabbitmq server and its entry should be added in rabbitmq queue. how to proceed this using stomp web plugin or socket.io where username and password is guest for rabbitmq.
Asked
Active
Viewed 76 times
1 Answers
0
I suggest to create another user guest
guest
is not safe.
if you want to enable guest
user for external IP see: RabbitMQ 3.3.1 can not login with guest/guest
To use STOMP over HTTP you have to enable the web_stomp plugin:
rabbitmq-plugins enable rabbitmq_web_stomp
In the same page you can find a full example.
Check also this repository: https://github.com/rabbitmq/rabbitmq-web-stomp-examples/tree/stable

Community
- 1
- 1

Gabriele Santomaggio
- 21,656
- 4
- 52
- 52