Re: Configuring Artemis to support MQTT Persistent Subscriptions

2025-03-08 Thread Justin Bertram
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

Re: Configuring Artemis to support MQTT Persistent Subscriptions

2025-03-06 Thread Ben Short
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

Re: Configuring Artemis to support MQTT Persistent Subscriptions

2025-03-06 Thread Ben Short
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

Re: Configuring Artemis to support MQTT Persistent Subscriptions

2025-03-06 Thread Domenico Francesco Bruscino
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

Configuring Artemis to support MQTT Persistent Subscriptions

2025-03-06 Thread Ben Short
Hi, I'm struggling to configure my Artemis instance to support MQTT persistent Subscriptions. I have two NodeJS MQTT5 clients. Client 1 connects and then subscribes to a topic. Client 2 connects and then publishes messages to the topic every 1000ms. Both set the clear option to false and set