camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9092) MQTT consumer receives duplicate messages after broker restart
Date Wed, 26 Aug 2015 07:10:45 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-9092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712621#comment-14712621
] 

ASF GitHub Bot commented on CAMEL-9092:
---------------------------------------

GitHub user igarashitm opened a pull request:

    https://github.com/apache/camel/pull/601

    CAMEL-9092 MQTT consumer receives duplicate messages after broker res…

    …tart
    
    Listener.onDisconnect() is also invoked when connection recovery occurs in mqtt-client
internally, so it shouldn't attempt to reconnect from outside.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/igarashitm/camel CAMEL-9092

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/601.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #601
    
----
commit c4b2db9ded98f403f9705c4a56cc9c36f7cdad85
Author: Tomohisa Igarashi <tm.igarashi@gmail.com>
Date:   2015-08-26T07:03:23Z

    CAMEL-9092 MQTT consumer receives duplicate messages after broker restart
    
    Listener.onDisconnect() is also invoked when connection recovery occurs in mqtt-client
internally, so it shouldn't attempt to reconnect from outside.

----


> MQTT consumer receives duplicate messages after broker restart
> --------------------------------------------------------------
>
>                 Key: CAMEL-9092
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9092
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-mqtt
>    Affects Versions: 2.15.2, 2.16.0
>            Reporter: Tomohisa Igarashi
>         Attachments: MQTTDuplicatesTest.java, MQTTDuplicatesTest.java_activemq
>
>
> if clientId is specified, after ActiveMQ broker restart, camel-mqtt consumer starts to
receive duplicate messages. Please see the testcase attached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message