john9x commented on PR #5785: URL: https://github.com/apache/activemq-artemis/pull/5785#issuecomment-2989908433
Ouch! I miss the check `if (state.getClientSessionExpiryInterval() == 0)` in the `org.apache.activemq.artemis.core.protocol.mqtt.MQTTSession#stop` So it seems the problem in the documentation only and current code is fine. https://github.com/apache/activemq-artemis/blob/37fbbc4c11aaa1ad30aaa5610aa71b9209e82bf8/docs/user-manual/mqtt.adoc?plain=1#L209 https://github.com/apache/activemq-artemis/blob/37fbbc4c11aaa1ad30aaa5610aa71b9209e82bf8/docs/user-manual/mqtt.adoc?plain=1#L212 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact