Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-23 Thread SummerScent
Hi Tim, I think MQTT messages has RETAINED Flag will be sent to the subscribing clients which not yet received the message. But ActiveMQ 5.10, 5.11: the broker always send the message to the client even the message already delivered to this client before. Thank you, Tim, for your time following

Re: ActiveMQ does not keep durable subscription when re-start

2015-06-23 Thread SummerScent
>broker (have you stopped it or is it still running? does it > successfully >reconnect, or not? does a new subscription get created when it > reconnects? >what else are you seeing that you think would be useful to us?) > > Tim, the other question targeted 5.11.1,

ActiveMQ does not keep durable subscription when re-start

2015-06-22 Thread SummerScent
Hi all, I have a MQTT subscriber which create some Durable Topic Subscribers when connected to ActiveMQ. But when the ActiveMQ restarts, it clear all the Durable Topic Subscribers. Do you have any solution to keep these Durable Topic Subscribers even when the ActiveMQ restart? Thank you!

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-21 Thread SummerScent
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 w

ActiveMQ Apollo Advisory Connection

2015-06-21 Thread SummerScent
Hi all, I am investigating ActiveMQ Apollo. In ActiveMQ, I use OpenWire protocol to receive "ActiveMQ.Advisory.Connection" topic to check the connection status of clients. Can anyone let me know how to do that with ActiveMQ Apollo? Thank many in advance. -- View this message in context:

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Hi Tim, Here is an example of the dispatched queue, enqueue, dequeue count. -- 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-

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Hi Tim, Only one subscription for that topic. enqueue count and dequeue count and dispatched count they are almost equal. And they are all increased each time the subscriber is connected. Thank you! Tim Bain wrote > How many subscriptions do you see for that topic via JConsole? If you see

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
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 Subscribe

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Thank you! I also create the same subscription name for each topic. -- 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-tp4697874p4697891.html Sent from the ActiveMQ - User mailing list ar

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Hi Tim Bain, Thanks you! Yes, that's right. This is my exact trouble. Tim Bain wrote > I'm not understanding this line from your first email: "The broker is > always sent the messages which already sent to the subscriber before to > the > subscriber when it is connected." Does that mean your co

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Thanks OSATIEN for your considerate time. I follow the link you posted and see that their MQTT client also publish message to topic, not queue. -- 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-i

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
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 ca

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Thanks William -2, And the most headache problem now is that the ActiveMQ 5.10,11 always send the message (which are sent to subscriber before) again to the subscriber when subscriber is connected. ActiveMQ 5.10 and 5.11 has same problem. -- View this message in context: http://activemq.2

Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Hi all, I am so new to ActiveMQ. I am using ActiveMQ MQTT for my project. My subscriber need to receive all offline messages even they are connected at the first time after ActiveMQ is started. I tried to created an durable topic subscriber from web console. So all offline message will be deliv