i am not too sure what do you need to do ... and i dont know how do you connect to mqtt .... but as i have seen here
http://stackoverflow.com/questions/27189086/activemq-lost-persistent-message-sent-to-detached-consumer-before-keepaliveinter you need to set QoS by message, can you try? On Wed, Jun 17, 2015 at 12:50 PM, SummerScent <scent.o.sum...@gmail.com> wrote: > Thanks OSATIEN, > > What do you mean passed message? The message is already sent to subscriber? > > I have only one Subscriber for some topics. > > My main purpose is to receive all the message which is published to topics > even the subscriber is not connected before that. > > Can you tell me how MQTT client can publish a message to Queue and how MQTT > subcriber consume that message from that queue? > > Thank you! > > > > > > > > -- > 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-tp4697874p4697881.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >