Hi Tim, Thanks so much for your consideration.
Last time the subscriber automatically receive the message when connected is because I publish the message with RETAINED flag. But I have the trouble with the durable subscription created by Web Console: Some durable subscriptions are working well with offline messages (It keep all offline message as Pending state and when the actual subscriber is connected, all these messages are delivered to it). But some durable subscriptions are not working ( they keep the offline message as Pending, but they does not deliver these message to the actual subscriber when it is connected). I don't know why the ActiveMQ remove all the durable subscription when it is re-started. I mean that: My actual subscriber is already connected to ActiveMQ and subscribe some durable topic with clean Session is FALSE but when ActiveMQ restart, it remove all these durable subscription. That's why I need to create some durable topic subscription when the ActiveMQ is started. Thanks so much! -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-5-11-1-MQTT-Message-is-automatically-sent-to-subscriber-when-it-is-connected-tp4697874p4698036.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.