# MQTT node converts topic

**URL:** <https://discourse.nodered.org/t/mqtt-node-converts-topic/23619>\
**Category:** General\
**Created:** [25 March 2020 13:06 UTC](https://discourse.nodered.org/t/mqtt-node-converts-topic/23619 "2020-03-25T13:06:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hammerfels](https://avatars.discourse-cdn.com/v4/letter/h/c5a1d2/32.png) [@Hammerfels](https://discourse.nodered.org/u/Hammerfels)\
**Post date:** [25 March 2020 13:06 UTC](https://discourse.nodered.org/t/mqtt-node-converts-topic/23619/1 "2020-03-25T13:06:34Z")

</div>

Hello everyone,

I realized that the MQTT out node converts dots in the topic to slashes.  
e.g. something.else --\> something/else

Is there a way to change this behavior?

Kind regards

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 March 2020 13:40 UTC](https://discourse.nodered.org/t/mqtt-node-converts-topic/23619/2 "2020-03-25T13:40:11Z")

</div>

Not for me it doesn't

```auto
[{"id":"24e71480.6dc264","type":"inject","z":"bdd7be38.d3b55","name":"","topic":"test/something.else","payload":"","payloadType":"date","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":135,"y":920,"wires":[["31d5c99c.3d36be"]]},{"id":"31d5c99c.3d36be","type":"mqtt out","z":"bdd7be38.d3b55","name":"","topic":"","qos":"","retain":"","broker":"e3d45312.a3103","x":321,"y":923,"wires":[]},{"id":"8dd52a02.3861c","type":"mqtt in","z":"bdd7be38.d3b55","name":"","topic":"test/#","qos":"2","datatype":"auto","broker":"e3d45312.a3103","x":120,"y":991,"wires":[["44eb473f.7fd67"]]},{"id":"44eb473f.7fd67","type":"debug","z":"bdd7be38.d3b55","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":308,"y":989,"wires":[]},{"id":"e3d45312.a3103","type":"mqtt-broker","z":"","name":"","broker":"owl2.local","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]

Post a mini flow showing the problem.

```

---

<div class="post-metadata">

**Author:** ![Hammerfels](https://avatars.discourse-cdn.com/v4/letter/h/c5a1d2/32.png) [@Hammerfels](https://discourse.nodered.org/u/Hammerfels)\
**Post date:** [25 March 2020 14:00 UTC](https://discourse.nodered.org/t/mqtt-node-converts-topic/23619/3 "2020-03-25T14:00:07Z")

</div>

Hey,

after trying your mini flow i realized my mistake.  
Its acutally not the mqtt out node... its probably my activemq... 🙈

Thanks for the help 🙂

---

<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:** [24 May 2020 14:00 UTC](https://discourse.nodered.org/t/mqtt-node-converts-topic/23619/4 "2020-05-24T14:00:11Z")

</div>

Closed on 24 May 2020 14:00 UTC

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