# Send a message among custom nodes

**URL:** <https://discourse.nodered.org/t/send-a-message-among-custom-nodes/29059>\
**Category:** Developing Nodes\
**Created:** [27 June 2020 06:43 UTC](https://discourse.nodered.org/t/send-a-message-among-custom-nodes/29059 "2020-06-27T06:43:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdalee](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sdalee/32/18818_2.png) [@sdalee](https://discourse.nodered.org/u/sdalee)\
**Post date:** [27 June 2020 06:43 UTC](https://discourse.nodered.org/t/send-a-message-among-custom-nodes/29059/1 "2020-06-27T06:43:38Z")

</div>

I'd like to create 3 custom nodes: 'in node', 'configuration node' and 'out node'  
If 'in node' gets a msg, the msg should appear at the output of one or more 'out node'. Depending on the topic of 'in node' topic. If one or more 'out node' had same topic as 'in node' msg should appear at these outputs of 'out nodes'.  
I would save the related 'in nodes' and 'out nodes' to the 'configuration node' when I send a setup message to 'in nodes' / 'out nodes'.  
In one word I' d like to create something like MQTT without external server.  
Is it possible?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [27 June 2020 07:02 UTC](https://discourse.nodered.org/t/send-a-message-among-custom-nodes/29059/2 "2020-06-27T07:02:10Z")

</div>

Maybe like this node ?[https://flows.nodered.org/node/node-red-contrib-topic-link](https://flows.nodered.org/node/node-red-contrib-topic-link)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [27 June 2020 07:09 UTC](https://discourse.nodered.org/t/send-a-message-among-custom-nodes/29059/3 "2020-06-27T07:09:26Z")

</div>

And discussion on it

> [@Mqtt like link node based on topics](https://discourse.nodered.org/t/mqtt-like-link-node-based-on-topics/27616):
>
> Hi, In the beginning of my Node-RED time, I have used MQTT extensively. If I now look at old flows, I am using MQTT mainly to connect flows within the same Node-RED instance. I have the feeling that many other people do that as well. It is somehow questionable if it is a sensible idea to use MQTT as a middleware to route messages within Node-RED. Therefore, I would like to know what people think about a "link" node which behaves like an MQTT node with topics etc. There would be a "link out…

---

<div class="post-metadata">

**Author:** ![sdalee](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sdalee/32/18818_2.png) [@sdalee](https://discourse.nodered.org/u/sdalee)\
**Post date:** [27 June 2020 10:13 UTC](https://discourse.nodered.org/t/send-a-message-among-custom-nodes/29059/4 "2020-06-27T10:13:19Z")

</div>

Yes, it's great, I've looked that solution for 4 week.  
Many thank, I got to open discussion.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 August 2020 10:13 UTC](https://discourse.nodered.org/t/send-a-message-among-custom-nodes/29059/5 "2020-08-26T10:13:40Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
