Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » topic remapping and bridging Mosquitto to self(remap single topic to dual end points)
topic remapping and bridging Mosquitto to self [message #1790398] Sat, 09 June 2018 08:53
Kiran Pradeep is currently offline Kiran PradeepFriend
Messages: 4
Registered: August 2015
Junior Member
Hi,

I like to remap topics in mosquitto broker and so bridge the broker to itself as below. If I need to map a single topic(A/out) to multiple output topics(B/in and C/in), I need to create two bridges as below
connection bridge1
address localhost:1883
topic "" out 2 A/out B/in

connection bridge2
address localhost:1883
topic "" out 2 A/out C/in

Two queries.
1. Is it advisable to bridge a broker to itself? I will avoid loops. Any other precautions necessary?
2. Is it possible to do this with out creating multiple bridges? I tried below which didnt work.
connection bridge0
address localhost:1883
topic "" out 2 A/out B/in
topic "" out 2 A/out C/in

Thanks,
Kiran.
Previous Topic:MQTT - SSL Connection to test.mosquitto.org:8883
Next Topic:Control arduino via MQTT
Goto Forum:
  


Current Time: Thu Sep 20 07:36:10 GMT 2018

Powered by FUDForum. Page generated in 0.03635 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top