activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William <streetp...@163.com>
Subject Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected
Date Thu, 18 Jun 2015 01:47:51 GMT

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


> On Jun 17, 2015, at 10:21 PM, Tim Bain <tbain@alumni.duke.edu> wrote:
> 
> How many subscriptions do you see for that topic via JConsole?  If you see
> more than one, that's your problem and you need to figure out why.
> 
> If you see only one subscription, what happens to the enqueue count and
> dequeue count and dispatched count when you reconnect the consumer?  I'd
> expect them all to be equal (or nearly so) when you disconnect; do any of
> them increase when you reconnect?  If so, which ones?
> 
> Tim
> 
> On Wed, Jun 17, 2015 at 6:49 AM, SummerScent <scent.o.summer@gmail.com>
> wrote:
> 
>> 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 archive at Nabble.com.
>> 



Mime
View raw message