camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CAMEL-11691) Should resubscribe when reconnect MQTT
Date Sat, 09 Sep 2017 09:00:16 GMT


ASF GitHub Bot commented on CAMEL-11691:

GitHub user abccbaandy opened a pull request:

    fix CAMEL-11691

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

    $ git pull CAMEL-11691

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

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

    This closes #1928
commit 030527860cd4753fc99dc849b5dc2416ee0f1147
Author: abccbaandy <>
Date:   2017-09-09T08:56:24Z

    fix CAMEL-11691


> Should resubscribe when reconnect MQTT
> --------------------------------------
>                 Key: CAMEL-11691
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-paho
>    Affects Versions: 2.19.2
>            Reporter: abccbaandy
> There is a feature in MqttConnectOptions called setAutomaticReconnect
> But, when it reconnect, it doesn't resubscribe the topics. Paho provide a callback :
MqttCallbackExtended, it got called when connect completed. So we can subscribe the topics
again in that callback.
> I check camel-paho source code, seems it use MqttCallback instead MqttCallbackExtended.
> Can anyone implement this feature?
> Thanks

This message was sent by Atlassian JIRA

View raw message