Thanks William-2.

1. Yes, AMQ does not support that.  So I tried to create a pre-defined a
Durable Topic Subscriber from Webconsole to receive all the message. These
message is in pending in state.

When my actual Subscriber is connected, all the above pending message are
delivered to my Subscriber.

This solution is working with Active MQ 5.10, 5.11. 

But the ActiveMQ 5.10, 5.11 is having a bugs. This bug is not related to my
solution. I mean that I run the ActiveMQ immediately after unzip the folder
without any setting. The bugs is still happen.

That is:

"The broker is  always sent the messages which already sent to the
subscriber before to the 
subscriber when it is connected."

Does anyone meet the same trouble with me?

Thanks so many!


William-2 wrote
> for my personal view,
> 
> 1, if you want to impl some requirement like ‘offline message’ for those
> never online user
>       AMQ doesn’t support that. The consumer must connect broker at least once
> as durable subscriber, then he can receive offline msg afterwards even
> after he offline and then online again.
> 2, MQTT only support topic
>       As I know ,it’s by design.
> 3, Repeat message received
>       in MQTT client (3rd library), set the Qos = 2, after our testing, only
> one message will be received.
> 
> William





--
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-tp4697874p4697940.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to