Many thanks to those who replied to my question.

-----Original Message-----
From: Devriendt, Erik <erik.devrie...@siemens.com.INVALID> 
Sent: 8 May, 2024 11:56
To: users@activemq.apache.org
Subject: MQTT retained messages and federation

Hello all

I have a question about retained messages in MQTT.

I have 2 federated activeMQ Artemis 2.32.0 brokers A and B.

When I start a MQTT client on broker A that publishes a retained message on a 
given topic and then exits, a second MQTT subscriber client started later and 
connected to that same broker does receive the retained message.
However, a MQTT subscriber client connecting to broker B does not receive the 
retained message. It does receive messages when the publishing client on broker 
A is actively publishing messages.

Is this known behavior?
Is there a way to provide the retained message also to late subscribers on 
broker B?

Reply via email to