mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-06 09:20:07 +00:00
Due to the changes in 682f505e32f9b6472665212acd6f58c32c7bf98d we now send "Last Will & Testament" MQTT messages via ServerSession. This means sending will fail if the disk is full. For MQTT this triggers a connection failure which in turns triggers sending an LWT message. This process will recurse infinitely until it results in a java.lang.StackOverflowError. This commit fixes that by tracking whether or not sending a LWT message is already in progress.