For publish or write operations, messages are by default routed to other transport. If MQTT is used: published messages will be routed to Socket.io. It would be good to add an option in order to let the user configure if routing should be performed.