# MQTT shows QoS 0 even if set to 1 or 2 on ActiveMQ

**URL:** <https://discourse.nodered.org/t/mqtt-shows-qos-0-even-if-set-to-1-or-2-on-activemq/48438>\
**Category:** General\
**Created:** [15 July 2021 06:38 UTC](https://discourse.nodered.org/t/mqtt-shows-qos-0-even-if-set-to-1-or-2-on-activemq/48438 "2021-07-15T06:38:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhechthz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mhechthz/32/20144_2.png) [@mhechthz](https://discourse.nodered.org/u/mhechthz)\
**Post date:** [15 July 2021 06:38 UTC](https://discourse.nodered.org/t/mqtt-shows-qos-0-even-if-set-to-1-or-2-on-activemq/48438/1 "2021-07-15T06:38:14Z")

</div>

Hi,

I have a MQTT node where I configured the QoS to 1 or 2. If I put a debug node after the MQTT node I get an output of qos=0. On the other end I have an ActiveMQ broker. It seems, that messages are lost!

With a real MQTT brocker all is fine.

How can this be interpreted?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [15 July 2021 07:08 UTC](https://discourse.nodered.org/t/mqtt-shows-qos-0-even-if-set-to-1-or-2-on-activemq/48438/2 "2021-07-15T07:08:18Z")

</div>

The broker?

How about you paste the message from the `debug` node so _we_ can check.

---

<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:** [15 July 2021 07:56 UTC](https://discourse.nodered.org/t/mqtt-shows-qos-0-even-if-set-to-1-or-2-on-activemq/48438/4 "2021-07-15T07:56:57Z")

</div>

> [@mhechthz](#):
>
> With a real MQTT broker all is fine.

If it works with one broker and not another then the fault lies with the broker.

---

<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:** [13 September 2021 07:57 UTC](https://discourse.nodered.org/t/mqtt-shows-qos-0-even-if-set-to-1-or-2-on-activemq/48438/5 "2021-09-13T07:57:48Z")

</div>

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