moscajs / mosca

MQTT broker as a module
mosca.io
3.2k stars 513 forks source link

Messages from one interface does not route to another interface if I have backend #752

Open kangks opened 6 years ago

kangks commented 6 years ago

I have 2 interfaces, one mqtt and one for websocket

    interfaces: [
      { type: "mqtt", port: 1883 },
      { type: "http", port: 4000, bundle: true }
    ]

I noticed if I have a backend, the mqtt does not route to websocket.

What do I need to do to route between all the 3: mqtt, websocket and the backend?