I believe this documentation [1] will answer your question.
Justin
[1]
https://activemq.apache.org/components/artemis/documentation/latest/mqtt.html#automatic-subscription-clean-up
On Thu, Mar 6, 2025 at 3:08 PM Ben Short wrote:
> Can the default expiry interval be changed?
>
> On 06/03/2025
Can the default expiry interval be changed?
On 06/03/2025 14:12, Domenico Francesco Bruscino wrote:
The default expiry interval of Apache ActiveMQ Artemis for MQTT5 sessions
is 0. It means that the session is cleared soon after the client
disconnection if the client doesn't specify an expiry int
Hi,
Thank you for this. The client wasn't sending a sessionExpiryInterval.
Adding one fixed the issue.
Many thanks
Ben
On 06/03/2025 14:12, Domenico Francesco Bruscino wrote:
The default expiry interval of Apache ActiveMQ Artemis for MQTT5 sessions
is 0. It means that the session is cleared
The default expiry interval of Apache ActiveMQ Artemis for MQTT5 sessions
is 0. It means that the session is cleared soon after the client
disconnection if the client doesn't specify an expiry interval.
What is the session expiry interval that client1 is specifying?
Domenico
On Thu, 6 Mar 2025 at