activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected
Date Wed, 17 Jun 2015 12:51:39 GMT
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 consumer is
consuming (and acknowledging) messages, disconnecting, reconnecting, and
receiving the same messages again?

If so, what acknowledgement mode are you using, and are you using
transactions?  If you attach JConsole to the broker and look at the
subscription just before you disconnect, do you see the subscription's
DequeueCount equal to its enqueue count?

Also, are you sure you're using the same consumer ID each time you
connect?  In JConsole you should see only one subscription on that topic,
no matter how many times you disconnect and reconnect.

On Jun 17, 2015 5:59 AM, "SummerScent" <> wrote:

> 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:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message