Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rabbit-MQ with React

Does React work with Rabbit-MQ? I've been googling myself to death the past few days and I could only find results regarding React Native.

Can I just follow a Javascript-RabbitMQ-Tutorial or is there something specific?

I'm thankful for any hint.

like image 552
Claim Avatar asked Feb 12 '18 07:02

Claim


People also ask

Is RabbitMQ a framework?

Written in Erlang, the RabbitMQ server is built on the Open Telecom Platform framework for clustering and failover. Client libraries to interface with the broker are available for all major programming languages. The source code is released under the Mozilla Public License.

How do I connect to RabbitMQ?

In order for a client to interact with RabbitMQ it must first open a connection. This process involves a number of steps: Application configures the client library it uses to use a certain connection endpoint (e.g. hostname and port) The library resolves the hostname to one or more IP addresses.

Does RabbitMQ use WebSockets?

RabbitMQ Web MQTT plugin is rather simple. It takes the MQTT protocol, as provided by RabbitMQ MQTT plugin and exposes it using WebSockets.

What does RabbitMQ stand for?

Last updated January 2022. RabbitMQ is a message-queueing software also known as a message broker or queue manager. Simply said; it is software where queues are defined, to which applications connect in order to transfer a message or messages. A message can include any kind of information.


1 Answers

  • Here is an example of RPC support for RabbitMQ http://www.rabbitmq.com/tutorials/tutorial-six-javascript.html

  • RabbitMQ provides has plugins which enables to connect to the server via websockets. http://www.rabbitmq.com/web-stomp.html
    Samples are here https://www.rabbitmq.com/devtools.html#web-messaging

  • There are couple of nodejs client libraries too. It is worth to take a look at them if you are using webpack. May be they will just work in the browser.

like image 125
Arun Karunagath Avatar answered Oct 23 '22 10:10

Arun Karunagath