using Node Red with RabbitMQ's MQTT plugin

1,412 views
Skip to first unread message

Edward Vielmetti

unread,
Jun 19, 2014, 7:46:15 PM6/19/14
to node...@googlegroups.com
Is anyone doing this? I have been using Mosquitto with 
good success, but I need RabbitMQ for another project,
and I'm hoping to run one flavor of MQTT broker on my
poor underpowered old Mac rather than two in parallel...

--
Edward Vielmetti +1 734 330 2465

Edward Vielmetti

unread,
Jun 20, 2014, 8:17:10 AM6/20/14
to node...@googlegroups.com
Just a quick followup, since I seem to have figured this out, running Node Red and using RabbitMQ as the underlying MQTT broker (both on my MacBook laptop).

The one glitch I have that I can't explain by looking at any docs I have found is that when I publish an MQTT message to

      test/example.com/foo

it comes back out of RabbitMQ on the channel

      test/example/com/foo

i.e. all dots are converted to slashes in the process. This requires that Node Red nodes that subscribe to a particular channel or wildcard get adjusted for the new name, and also requires that I have the right kind of naming conventions adjusted for other things.

Onwards...

Ed

Dave C-J

unread,
Jun 20, 2014, 3:30:05 PM6/20/14
to node...@googlegroups.com
Interesting !  - Anyone else seen this ?


--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
regards

Dave Conway-Jones

Nicholas O'Leary

unread,
Jun 20, 2014, 3:36:46 PM6/20/14
to node...@googlegroups.com
I had forgotten that RabbitMQ did this (not actually used it myself). But yes, I remember this coming up when they first added support; how do you sensibly map between the different protocol topic semantics.

Nick

Patrick Mclean

unread,
Sep 12, 2014, 11:08:48 AM9/12/14
to node...@googlegroups.com
Edward, I'm attempting the same thing. But with little success. I'm trying to get NodeRed to subscribe to a RabbitMQ. I think the issue I'm having is the naming/config - can you give a brief example of what values you entered into the MQTT connector in NodeRed to get at the RabbitMQ broker?

SATANIK Panda

unread,
Feb 8, 2015, 11:44:35 AM2/8/15
to node...@googlegroups.com
Hi Edward,

Can you please help me with a sample code for RabbitMQ client node on node red.

regards,
satanik

Edward Vielmetti

unread,
Feb 9, 2015, 4:11:13 PM2/9/15
to node...@googlegroups.com, satani...@gmail.com
Hi, I don't have anything to add regarding RabbitMQ setup for MQTT support beyond this:


the one caveat noted earlier in this thread is that topic names at that time that had a dot character (".") in them were silently transformed into the slash character ("/"). If you have anywhere that has dynamic generation of topic names, you'll need to take this into account.

thanks

Ed

--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

austin sandford

unread,
Jun 17, 2015, 6:28:12 PM6/17/15
to node...@googlegroups.com
Don't know if this is of any interest, but of the latest build, I've found that I can interchange the brokers between Mosquitto and Rabbit with the same results.
Reply all
Reply to author
Forward
0 new messages