I publish a MQTT message to Apache Apollo broker with QOS=EXACTLY_ONCE. I see the following two messages printed in broker logs. It is puzzling to see second one with "qos=AT_MOST_ONCE, messageId=0". Assuming this is printed as it is received and then when it is queued to the topic?
2015-03-19 00:15:52,857 TRACE org.apache.activemq.apollo.mqtt.MqttProtocolHandler: received: PUBLISH{dup=false, qos=EXACTLY_ONCE, retain=false, messageId=1611, topicName=api/1/data/topic1, payload=hex: 0a084c6f636174696f6e1206727852535349220c36636563656 2015-03-19 00:15:52,857 TRACE org.apache.activemq.apollo.mqtt.MqttProtocolHandler: sent: PUBLISH{dup=false, qos=AT_MOST_ONCE, retain=false, messageId=0, topicName=api/1/data/topic1, payload=hex: 0a084c6f636174696f6e1206727852535349220c36636563656