AMQP websockets

76 views
Skip to first unread message

Joshua Garcia

unread,
Mar 28, 2024, 9:06:56 PM3/28/24
to rabbitmq-users
Hi, I noticed there was an MQTT over web plugin is there an AMQP over web plugin as well? or is there no way to do websockets over it. 

jo...@cloudamqp.com

unread,
Mar 29, 2024, 1:28:10 PM3/29/24
to rabbitmq-users
We (CloudAMQP) have built a relay to accomplish this: https://github.com/cloudamqp/websocket-tcp-relay
/Johan

Loïc Hoguin

unread,
Apr 2, 2024, 5:33:16 AM4/2/24
to rabbitm...@googlegroups.com

Hello,

I am wondering about the use case. Is there something that Web-AMQP would do that Web-MQTT wouldn't? For your specific use case.

Cheers,

Loïc Hoguin

On 29/03/2024 02:06, Joshua Garcia wrote:
Hi, I noticed there was an MQTT over web plugin is there an AMQP over web plugin as well? or is there no way to do websockets over it.  --
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/24ed15dd-e043-492e-a107-ca435de7ab78n%40googlegroups.com.

This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.

Joshua Garcia

unread,
Apr 3, 2024, 1:44:38 AM4/3/24
to rabbitmq-users

is there a way to test this. i kinda did something with docker-compose but am unsure how to test if its working.

tcprelay:
ports:
- 15670:15670
image: cloudamqp/websocket-tcp-relay
container_name: 'relay'
command: "--upstream tcp://rabbitmq:5672"

I had a test pika script but it seems they dont support ws:// as the uri. are there custom parameters or would i need to use a different librayr language to see if this works.
Message has been deleted

jo...@cloudamqp.com

unread,
Apr 3, 2024, 11:54:25 AM4/3/24
to rabbitmq-users
One way to test is with the amqp-client.js WebSockets interface: https://github.com/cloudamqp/amqp-client.js/?tab=readme-ov-file#websockets
/Johan
Reply all
Reply to author
Forward
0 new messages